infra-ansible/roles/bootstrap_puppet_infra_node/tasks/main.yml
Ricardo Carrillo Cruz 5cf27e411f Refactor common and bootstrap_puppet_infra_node roles
Moving the setup of Puppetlabs apt repo and installation
of puppet packages to common role.
The bootstrap_puppet_infra_node now only configures puppet.conf
and enables the puppet agent.
2015-08-27 10:31:56 +02:00

10 lines
289 B
YAML

---
- name: Deploy /etc/puppet.conf template
template: src=puppet.conf.j2 dest=/etc/puppet/puppet.conf
- name: Start puppet agent service
service: name=puppet enabled=yes state=started
- name: Enable puppet agent, as it is disabled upon installation
command: puppet agent --enable