Enusre that clouds.yaml can be copied from remote
Add remote_src: true in that copy task for clouds.yaml for when the 'primary' host is different than undercloud in the deployment. Closes-Bug: #1847790 Change-Id: I7d105d5f7167ffc0dda5241b3bd96aeda11dd451
This commit is contained in:
parent
735b66536e
commit
d7128c52d1
@ -22,6 +22,7 @@
|
|||||||
- name: Copy clouds.yaml file from user's home to /root directory
|
- name: Copy clouds.yaml file from user's home to /root directory
|
||||||
copy:
|
copy:
|
||||||
src: '{{ ansible_user_dir }}/.config/openstack/clouds.yaml'
|
src: '{{ ansible_user_dir }}/.config/openstack/clouds.yaml'
|
||||||
|
remote_src: true
|
||||||
dest: '/root/.config/openstack/clouds.yaml'
|
dest: '/root/.config/openstack/clouds.yaml'
|
||||||
mode: 0600
|
mode: 0600
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user