Merge "Don't install puppet modules when we don't need them"

This commit is contained in:
Zuul 2020-06-15 21:29:39 +00:00 committed by Gerrit Code Review
commit 314488318b
2 changed files with 8 additions and 5 deletions

View File

@ -142,11 +142,6 @@
- install_modules.sh
- modules.env
- name: Run puppet module install
command:
cmd: bash install_modules.sh
chdir: /etc/puppet
- name: Copy yamlgroup inventory in place
copy:
src: inventory_plugins/yamlgroup.py

View File

@ -7,5 +7,13 @@
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