From a7222a155895e8459cb06287153d8577b00702bc Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Tue, 3 Apr 2018 09:33:17 +0000 Subject: Update git submodules * Update docs/submodules/releng-xci from branch 'master' - Merge changes from topic 'misc-simplifications-osa' * changes: xci: bootstrap-host: Make active network interface consistent xci: osa: Simplify tasks for copying OSA configuration files xci: Use proper Ansible modules to manage SSH keys - xci: bootstrap-host: Make active network interface consistent When we run XCI for the first time, Ansible picks the first active interface as the default one. However, after we configure all the XCI bridges etc, and we try to run this role again, Ansible may have changed its mind about what interface is active and it could default to one of the bridges. This forces the role to redo the network configuration but this time the bridges are being attached to bridges so everything goes terribly wrong after that. The way to solve this would be to add a local fact about what interface should be considered as the 'real' default one so subsequent calls to this role to not destroy the network. This also drops the task which removed the network configuration files on SUSE platforms since Ansible is smart enough to not touch them if they are configured properly. Change-Id: Ic0525e934b1934a40d69e6cf977615ab9b3dac6d Signed-off-by: Markos Chandras - xci: osa: Simplify tasks for copying OSA configuration files We can use a loop to copy all these files instead of multiple tasks. This simplifies the playbook quite a bit. Change-Id: I5f0d387ac090d81fc577b5ebeaeb6131e75cffa1 Signed-off-by: Markos Chandras - xci: Use proper Ansible modules to manage SSH keys We can use the 'user', 'slurp' and 'authorized_key' modules to manage the various SSH configurations across the hosts instead of using command line tools. Change-Id: I2dde4d584fc336e267868607d5a58f5ee2c1feed Signed-off-by: Markos Chandras --- docs/submodules/releng-xci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/submodules') diff --git a/docs/submodules/releng-xci b/docs/submodules/releng-xci index 56ab31c8a..e2b961ec2 160000 --- a/docs/submodules/releng-xci +++ b/docs/submodules/releng-xci @@ -1 +1 @@ -Subproject commit 56ab31c8ae5fe9e4f151fc1de5881c7bb2a09a2f +Subproject commit e2b961ec221a68437fae2a062d3492b6e77d27ad -- cgit 1.2.3-korg