Role Detail
geerlingguy.puppet
Puppet for Linux.
Type | Ansible |
Minimum Ansible Version | 2.0 |
Installation | $ ansible-galaxy install geerlingguy.puppet |
Tags |
cm
configuration
orchestration
server
system
|
Last Commit | |
Last Imported |
Version | Release Date |
---|
1.0.1 | |
1.0.0 |
Platform | Version |
---|
Debian | jessie |
EL | 7 |
Ubuntu | trusty |
Ubuntu | xenial |
Completed | Status |
---|
SUCCESS | |
SUCCESS | |
SUCCESS | |
SUCCESS | |
SUCCESS | |
SUCCESS | |
SUCCESS | |
SUCCESS |
Ansible Role: Puppet
An Ansible Role that installs Puppet on Linux.
Requirements
Requires Java 7 or later to be installed on the server (you can use the geerlingguy.java
role to install Java if needed; see the test playbook in tests/
for an example).
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml
):
puppet_package: puppetserver
The package to be installed.
puppet_service: puppetserver
puppet_service_enabled: no
puppet_service_manage: no
The service that should be run on this server. By default, this role will not manage a Puppet service, and will not enable it at boot time.
puppet_bin_path: /opt/puppetlabs/bin
The path to all the Puppet Labs binaries (after the package is installed).
# Used only for Debian/Ubuntu.
puppet_apt_deb: "https://apt.puppetlabs.com/puppetlabs-release-pc1-{{ ansible_distribution_release }}.deb"
The .deb file for installation on Debian-based OSes.
# Used only for RedHat/CentOS.
puppet_yum_rpm: https://yum.puppetlabs.com/el/7/products/x86_64/puppetlabs-release-7-12.noarch.rpm
The .rpm file for installation on RedHat-based OSes.
Dependencies
None.
Example Playbook
- hosts: all
roles:
- geerlingguy.puppet
License
MIT / BSD
Author Information
This role was created in 2017 by Jeff Geerling, author of Ansible for DevOps.
None