Refactored install_puppet.sh into common playbook
This commit is contained in:
parent
a30a5cb4f4
commit
178a5476ae
@ -1,8 +1,4 @@
|
|||||||
---
|
---
|
||||||
# Install puppet
|
|
||||||
- command: bash /opt/system-config/production/install_puppet.sh
|
|
||||||
tags: install_puppet
|
|
||||||
|
|
||||||
# Install puppet modules
|
# Install puppet modules
|
||||||
- command: bash /opt/system-config/production/install_modules.sh
|
- command: bash /opt/system-config/production/install_modules.sh
|
||||||
tags: install_puppet_modules
|
tags: install_puppet_modules
|
@ -4,3 +4,15 @@
|
|||||||
|
|
||||||
# Install git
|
# Install git
|
||||||
- apt: name=git
|
- apt: name=git
|
||||||
|
|
||||||
|
# Clone system-config
|
||||||
|
- git: repo="{{ system_config_repo_https_url }}"
|
||||||
|
dest=/opt/system-config/production
|
||||||
|
accept_hostkey=True
|
||||||
|
version="{{ system_config_branch }}"
|
||||||
|
force=True
|
||||||
|
tags: clone_system_config
|
||||||
|
|
||||||
|
# Install puppet
|
||||||
|
- command: bash /opt/system-config/production/install_puppet.sh
|
||||||
|
tags: install_puppet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user