Don't install puppet modules when we don't need them
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
This commit is contained in:
parent
b33e0dd9ce
commit
3d58c5a30a
@ -142,11 +142,6 @@
|
|||||||
- install_modules.sh
|
- install_modules.sh
|
||||||
- modules.env
|
- modules.env
|
||||||
|
|
||||||
- name: Run puppet module install
|
|
||||||
command:
|
|
||||||
cmd: bash install_modules.sh
|
|
||||||
chdir: /etc/puppet
|
|
||||||
|
|
||||||
- name: Copy yamlgroup inventory in place
|
- name: Copy yamlgroup inventory in place
|
||||||
copy:
|
copy:
|
||||||
src: inventory_plugins/yamlgroup.py
|
src: inventory_plugins/yamlgroup.py
|
||||||
|
@ -7,5 +7,13 @@
|
|||||||
name: puppet-install
|
name: puppet-install
|
||||||
- include_role:
|
- include_role:
|
||||||
name: disable-puppet-agent
|
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:
|
- include_role:
|
||||||
name: puppet
|
name: puppet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user