19 lines
414 B
YAML
19 lines
414 B
YAML
---
|
|
# Update packages
|
|
- apt: update_cache=yes
|
|
|
|
# Install 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
|