Use ansible_user_dir for legacy-install-afs-with-puppet
Because we sudo to root, use full path for command task. Currently we are getting file not found errors. Change-Id: I9fb573a0e4abf03f9a8f5b20a55d2fea6ef60a72 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
870edccd03
commit
5972b2bc3d
|
@ -1,7 +1,7 @@
|
|||
- name: Install puppet
|
||||
command: install_puppet.sh
|
||||
args:
|
||||
chdir: src/git.openstack.org/openstack-infra/system-config
|
||||
chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config"
|
||||
become: yes
|
||||
|
||||
- name: Copy reduced scope modules.env into place
|
||||
|
@ -12,7 +12,7 @@
|
|||
- name: Install modules
|
||||
command: install_modules.sh
|
||||
args:
|
||||
chdir: src/git.openstack.org/openstack-infra/system-config
|
||||
chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config"
|
||||
become: yes
|
||||
|
||||
- name: Copy manifest
|
||||
|
|
Loading…
Reference in New Issue