2847112122
Silence remaing two ansible warnings: Since we cannot really test this change currently, add a TODO and silence the warning. The change to command module can be done later, let's move forward to get the job voting. Change-Id: I01d22702f3294d7958c8982dc7f2c31a02aa81e2
34 lines
935 B
YAML
34 lines
935 B
YAML
- name: Install puppet
|
|
shell: ./install_puppet.sh
|
|
args:
|
|
chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config"
|
|
environment:
|
|
# Skip setting up pip, our images have already done this.
|
|
SETUP_PIP: "false"
|
|
become: yes
|
|
# ANSIBLE0013 complains about shell. TODO(jaegerandi): Use command instead,
|
|
# for now we just silence the warning.
|
|
tags:
|
|
- skip_ansible_lint
|
|
|
|
- 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
|
|
copy:
|
|
src: manifest.pp
|
|
dest: "{{ ansible_user_dir }}/manifest.pp"
|
|
|
|
- name: Run puppet
|
|
puppet:
|
|
manifest: "{{ ansible_user_dir }}/manifest.pp"
|
|
become: yes
|