Forge Home


This is module written for deploying ansible master and slave on RHEL 6,7,8 systems


485 latest version

3.1 quality score

Version information

  • 1.0.0 (latest)
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2 (deleted)
  • 0.1.1
  • 0.1.0
released Sep 23rd 2021
This version is compatible with:
  • Puppet Enterprise 2021.6.x, 2021.5.x, 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
  • , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'hemantgangwar-ansiblecore', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add hemantgangwar-ansiblecore
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install hemantgangwar-ansiblecore --version 1.0.0

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.



hemantgangwar/ansiblecore — version 1.0.0 Sep 23rd 2021


Welcome to ansiblecore. A module written to play along with Ansible, for more details on free content written by author on Ansible, please refer: (#

Table of Contents

  1. Description
  2. Setup - The basics of getting started with ansiblecore
  3. Usage


For those who are looking for a clean ansible installation in their environment. For this a preferable setup is RHEL / CentOS 7 based machines.

Here we do not need to care about keys as the module will itself populate auto generated keys on both Ansible master and target nodes.

Note: If on any node it found home of ansible anything other than /home/ansible, it will delete the user and recreate the user.


In this example code you will find numerous machines, where following are important:



class { 'ansiblecore::master': }
class { 'ansiblecore::target': }

On Ansible controller node hiera file add below hiera code

ansiblecore::master::ansiblecore: 'ansible'

Similar puppet code

package { 'ansible':
                name    =>      'ansible',
                ensure  =>      installed,

On ansible taret node add below hiera value

- ansiblecore::target