Forge Home

ansible_config

Install and run ansible playbook

2,141 downloads

0 latest version

5.0 quality score

Version information

  • 1.0.72 (latest)
  • 1.0.71
  • 1.0.70
  • 1.0.69
  • 1.0.68
  • 1.0.67
  • 1.0.66
  • 1.0.65
  • 1.0.64
  • 1.0.63
  • 1.0.62
  • 1.0.60
  • 1.0.59
  • 1.0.58
  • 1.0.57
  • 1.0.56
  • 1.0.55
  • 1.0.54
  • 1.0.53
  • 1.0.52
  • 1.0.51
  • 1.0.50
  • 1.0.49
  • 1.0.48
  • 1.0.47
  • 1.0.46
  • 1.0.45
  • 1.0.44
  • 1.0.43
  • 1.0.42
  • 1.0.41
  • 1.0.40
  • 1.0.39
  • 1.0.38
  • 1.0.37
  • 1.0.36
  • 1.0.35
  • 1.0.34
  • 1.0.33
  • 1.0.32
  • 1.0.31
  • 1.0.30
  • 1.0.29
  • 1.0.28
  • 1.0.27
  • 1.0.26
  • 1.0.25
  • 1.0.24
  • 1.0.23
  • 1.0.22
  • 1.0.21
  • 1.0.20
  • 1.0.19
  • 1.0.18
  • 1.0.17
  • 1.0.16
  • 1.0.15
  • 1.0.14
  • 1.0.13
  • 1.0.12
  • 1.0.11
  • 1.0.10
  • 1.0.9
  • 1.0.8
  • 1.0.7
  • 1.0.6
  • 1.0.5
  • 1.0.4 (deleted)
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
  • 0.1.6 (deleted)
  • 0.1.5 (deleted)
  • 0.1.4 (deleted)
  • 0.1.3 (deleted)
  • 0.1.2 (deleted)
  • 0.1.1 (deleted)
  • 0.1.0 (deleted)
released Jan 19th 2022
This version is compatible with:
  • Puppet Enterprise 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
  • Puppet >= 6.21.0 < 8.0.0
  • , , , , ,
Tasks:
  • ansible_info_confirmation
  • ansible_ping_all
  • ansible_playbook

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'artsir-ansible_config', '1.0.72'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add artsir-ansible_config
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install artsir-ansible_config --version 1.0.72

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

artsir/ansible_config — version 1.0.72 Jan 19th 2022

ansible_config

Configuration of an Ansible host and enablement of basic Ansible commands in Puppet Enterprise Tasks

Table of Contents

  1. Description
  2. Setup - The basics of getting started with ansible_config
  3. Usage - Configuration options and additional functionality
  4. Task Functions - Basic description of available tasks
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

Role::ansible_host installs and configures Ansible on a CentOS host. Passes hosts and playbook custom file configuration included in /files folder.

Setup

Standard Puppet Module Setup steps

Usage

1)

Add ansible_config::ansible_host class to your PE Group if all you want is to install Ansible.

or

class ansible_config::ansible_host {
}

2)

Add class ansible_config:ansible_setup to setup Ansible's host file and playbook in /etc/ansible on host.

or

class ansible_config::ansible_setup {
}

!!! I would advise to review and update the hosts and playbook.yml files in this /module/file folder or repoint.

And now you can run task functions

NOTE: You can modify hosts file by going to etc/puppetlabs/code/envirioment/...ENVIROMENT.../modules/ansible_config/files/hosts

Tasks

There are a few tasks for your use.

ansible_info_confirmation: - Confirms presence of Ansible on a host and retrives some basic info. /n

ansible_ping_all: - Ability to Ping all host specified in host file /n

ansible_playbook: - Runs ansible-playbook command on Ansible host and optional variables. /n

Limitations

Currently tested with CentOS only.

Development

Is on-going.