3d58c5a30a
We are currently cloning all of the puppet modules in install-ansible, but we only need them when we run run-puppet. Move the cloning there so that we can stop wasting the time in CI jobs that don't need them. In prod, this should not have much impact. Change-Id: I641ffc09e9e0801e0bc2469ceec97820ba354160
20 lines
426 B
YAML
20 lines
426 B
YAML
# Use include_role instead of roles: so that we can late-bind the roles list
|
|
- include_role:
|
|
name: iptables
|
|
- include_role:
|
|
name: install-ansible-roles
|
|
- include_role:
|
|
name: puppet-install
|
|
- include_role:
|
|
name: disable-puppet-agent
|
|
|
|
- name: Run puppet module install
|
|
delegate_to: localhost
|
|
run_once: true
|
|
command:
|
|
cmd: bash install_modules.sh
|
|
chdir: /etc/puppet
|
|
|
|
- include_role:
|
|
name: puppet
|