infra-ansible/roles/bootstrap_puppetmaster/tasks/configure_puppetmaster.yml
Ricardo Carrillo Cruz 55303f4bb8 Major refactor
Decoupled several things from bootstrap roles into subroles
and added several default and group variables
2015-04-13 14:23:22 +02:00

16 lines
449 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'
-e 'class {"openstack_project::puppetmaster"':'
puppetmaster_server => "{{ inventory_hostname }}",
puppetdb => false }'
tags: puppet_apply