diff options
author | Markos Chandras <mchandras@suse.de> | 2018-03-16 11:05:56 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-03-16 22:52:35 +0000 |
commit | cf894cbcffe0e1b2b28f6743e41407522cf20a63 (patch) | |
tree | 7f01785f8ea5098383b87fbc19c71bda0cb770f6 /xci/playbooks/configure-localhost.yml | |
parent | 5dcc328f7506166e049c0310d5d8f70fa4579d45 (diff) |
xci: Copy XCI environment to deployment hosts
The XCI hosts may need some of the XCI env variables to perform
certain tasks so dump the XCI environment to /root/xci.env file and
make that available to every host on the deployment.
Change-Id: I286a01ca7da8ff206438c261798167f5e4daf7f2
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/configure-localhost.yml')
-rw-r--r-- | xci/playbooks/configure-localhost.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xci/playbooks/configure-localhost.yml b/xci/playbooks/configure-localhost.yml index a5b0e3fa..0e3cde6e 100644 --- a/xci/playbooks/configure-localhost.yml +++ b/xci/playbooks/configure-localhost.yml @@ -98,3 +98,8 @@ - OPENSTACK_OSA_DEV_PATH != "" when: - INSTALLER_TYPE == "osa" + + - name: Dump XCI execution environment to a file + shell: env > "{{ XCI_PATH }}/.cache/xci.env" + args: + executable: /bin/bash |