Forge Home

ansiblecore

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

1,586 downloads

598 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

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 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 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.

Download

Documentation

hemantgangwar/ansiblecore — version 1.0.0 Sep 23rd 2021

ansiblecore

Welcome to ansiblecore. A module written to play along with Ansible, for more details on free content written by author on Ansible, please refer: (#https://learningtechnix.wordpress.com/category/automation/ansible/)

Table of Contents

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

Description

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.

Setup

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

  • ldapmas.technix.com --> ANSIBLE MASTER
  • master.lab.example.com --> ANSIBLE CLIENT

Usage

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

classes:
- ansiblecore::target