inuits/puppet-ansible

Name: puppet-ansible

Owner: Inuits

Description: A puppet-module to manage ansible as an orchestrator through puppet

Created: 2015-07-17 05:51:00.0

Updated: 2016-09-05 13:46:45.0

Pushed: 2016-09-05 13:46:43.0

Homepage: null

Size: 20

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

puppet-ansible module Build Status

This module is intented to use ansible as an orchestration tool within an existing puppet environment based on puppetdb. It relies on the epel repository which you have to manage yourselves.

Tested on a CentOS 6.5 machine using puppet 3.7.1, puppetdb 2.2 and ansible 1.7

puppet

include ansible

s { 'ansible':
puppetdb_host    => 'PUPPETDBHOST',
puppetdb_port    => 'PUPPETDBPORT',
puppet_inventory => true,

/etc/ansible/hosts

Using the defaults, ansible will use the default installed static /etc/ansible/hosts file which you can manipulate yourself.

If on the other hand you want to use your hosts managed by puppet you could enable the puppet_inventory param on true so the /etc/ansible/hosts file will be replaced by a dynamic inventory script based on your puppetdb service.

That way you can benefit of both services the nifty ansible to trigger services and the robust way of configuration management by puppet.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.