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:
Wes Hayutin 2019-10-11 09:27:36 -06:00 committed by Ronelle Landy
parent 735b66536e
commit d7128c52d1

View File

@ -22,6 +22,7 @@
- name: Copy clouds.yaml file from user's home to /root directory
copy:
src: '{{ ansible_user_dir }}/.config/openstack/clouds.yaml'
remote_src: true
dest: '/root/.config/openstack/clouds.yaml'
mode: 0600
become: true