infra-ansible/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml

16 lines
418 B
YAML

---
# Install puppetmaster packages
- apt: name={{ item }} state=installed
with_items:
- puppetmaster-passenger
- hiera
- hiera-puppet
# Puppet apply the puppetmaster manifest
- command: >
puppet apply --modulepath='/opt/system-config/production/modules:/etc/puppet/modules'
/opt/system-config/production/manifests/site.pp
tags: puppet_apply
- service: name=puppet enabled=yes state=started