infra-ansible/roles/bootstrap_puppet_infra_node/tasks/main.yml

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