An ansible role for managing the installation of puppet-agent.
More information on puppet-agent installation on various platforms can be found here:
Note: As of version 0.1.0, the upstream puppet changed from official Puppet to a new open source fork called Openvox.
This role requires puppet-agent package to be supported on the target platform package to be avalible in package manager on the target systems othe than Debian and Ubuntu.
This example shows all possible options and their default values on an Ubuntu system.
---
- hosts: all
roles:
- role: rehanone.puppet
vars:
puppet:
debug: true
package:
install_directory: "/opt/puppetlabs"
name: puppet-agent
service:
enabled: false
name: puppet
state: stopped
source:
file: puppet8-release-jammy.deb
package: puppet8-release
url: https://apt.puppetlabs.com
state: present
system:
binary_directory: "/usr/local/bin"
This example shows minimum required options for using this role.
---
- hosts: all
roles:
- role: rehanone.puppet
vars:
puppet:Apache-2.0