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