- name: Install puppet
  command: install_puppet.sh
  args:
    chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config"
  become: yes

- name: Copy reduced scope modules.env into place
  template:
    src: modules.env.j2
    dest: src/git.openstack.org/openstack-infra/system-config/modules.env

- name: Install modules
  command: install_modules.sh
  args:
    chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config"
  become: yes

- name: Copy manifest
  file:
    src: manifest.pp
    dest: "{{ ansible_user_dir }}/manifest.pp"

- name: Run puppet
  puppet:
    manifest: "{{ ansible_user_dir }}/manifest.pp"

- name: Install puppet
  command: ./install_puppet.sh
  args:
    chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config"
  become: yes

- name: Copy reduced scope modules.env into place
  template:
    src: modules.env.j2
    dest: src/git.openstack.org/openstack-infra/system-config/modules.env

- name: Install modules
  command: ./install_modules.sh
  args:
    chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config"
  become: yes

- name: Copy manifest
  file:
    src: manifest.pp
    dest: "{{ ansible_user_dir }}/manifest.pp"

- name: Run puppet
  puppet:
    manifest: "{{ ansible_user_dir }}/manifest.pp"

Make sure we execute local scripts
Make sure we execute local scripts

Otherwise, we won't find the proper path to our install scripts.

Change-Id: Ic830875b4fbf01751a28a5541d8f121051112f60
Signed-off-by: Paul Belanger <e7139c8e6c4ea75cc1c287ce081b2dc0f3ab39ec@redhat.com>
