
Decoupled several things from bootstrap roles into subroles and added several default and group variables
14 lines
271 B
YAML
14 lines
271 B
YAML
---
|
|
# Update packages
|
|
- apt: update_cache=yes
|
|
|
|
# Install puppet
|
|
- apt: name=puppet
|
|
|
|
# Deploy puppet.conf template
|
|
- template: src=puppet.conf.j2 dest=/etc/puppet/puppet.conf
|
|
|
|
# Run puppet agent to request certificate
|
|
- command: puppet agent --test
|
|
ignore_errors: True
|