Ansible role for running puppet
Go to file
Monty Taylor 69cf3cd23c module is a variable, not a name prefix
Turns out we want module.exit_json, not module_exit_json. Oops. Also,
two other small ansible task cleanups found looking at the runs.

Change-Id: I8737d5b1e675bfb89ee1db2f2c434c601d419f5e
2016-01-18 19:14:36 -05:00
defaults Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
handlers Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
library module is a variable, not a name prefix 2016-01-18 19:14:36 -05:00
meta Update to use blocks from ansible 2.0 2016-01-14 15:39:24 -05:00
tasks module is a variable, not a name prefix 2016-01-18 19:14:36 -05:00
tests Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
vars Rename hieraenvironment to puppet_environment 2016-01-18 17:10:39 -05:00
.gitignore Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00
.gitreview Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
LICENSE Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
README.md Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
requirements.txt Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00
run_tests.sh Add all of the files needed to make this a role 2015-02-22 22:59:39 -05:00
test-requirements.txt Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00
tox.ini Add tox -eansible-lint support 2015-11-11 21:43:59 -05:00

README.md

puppet

Run puppet consistently from ansible.

Requirements

puppet needs to be installed on the target node, and if puppet agent is being used, the cert exchange needs to have been performed.

Role Variables

puppetmaster is the required parameter.

Dependencies

None

Example Playbook

The only required argument is puppetmaster:

- hosts: servers
  roles:
     - { role: infra.puppet, puppetmaster: puppetmaster.openstack.org }

License

Apache

Author Information

ansible-puppet is maintained by the OpenStack Infra team. The best way to contact them is on #openstack-infra on freenode.