geerlingguy.puppet

Ansible Role: Puppet

CI

This is an Ansible Role that installs Puppet on Linux systems.

Requirements

You need to have Java 7 or higher installed on your server. You can use the geerlingguy.java role to install Java if you need it. Check the test playbook in tests/ for an example.

Role Variables

Here are the available variables, along with their default values (found in defaults/main.yml):

  • puppet_package: The package that will be installed (default: puppetserver).

  • puppet_service: The service that will run on the server (default: puppetserver).

  • puppet_service_state: The state of the service (default: started).

  • puppet_service_enabled: Whether the service is enabled to start at boot (default: false).

  • puppet_service_manage: Whether this role should manage the Puppet service (default: false).

  • puppet_bin_path: Path to Puppet Labs binaries once installed (default: /opt/puppetlabs/bin).

  • puppet_version: Major version of Puppet to install (default: 7).

  • For Debian/Ubuntu:

  • For RedHat/CentOS:

    • puppet_yum_rpm: "https://yum.puppet.com/puppet{{ puppet_version }}-release-el-{{ ansible_distribution_major_version }}.noarch.rpm" (The .rpm file for installation).

Dependencies

There are no dependencies.

Example Playbook

- hosts: all
  roles:
    - geerlingguy.puppet

License

This role is licensed under MIT / BSD.

Author Information

This role was created in 2017 by Jeff Geerling, who is the author of Ansible for DevOps.

Installa
ansible-galaxy install geerlingguy.puppet
Licenza
mit
Download
32.5k
Proprietario
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns