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:
Paul Belanger 2017-09-22 17:04:40 -04:00
parent 870edccd03
commit 5972b2bc3d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 2 additions and 2 deletions

View File

@ -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