5cf27e411f
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.
10 lines
289 B
YAML
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
|