Puppet : How to Install and Configure Puppet Master

Introduction Puppet is an "old school" configuration management tool. It helps you enforce configurations with great ease although it is more complex than Ansible to use. Puppet's declarative language can be compared...

Ansible : How to Troubleshoot Ansible

Let's see what happens with a ~/playbooks/hello_world.yml playbook with the following contents when specifying up to 4 -v tools: - name: Hello World test hosts: all tasks: - action: shell echo "Hello World" Steps...

Ansible : Playbook to Perform System Configuration Tasks

In Ansible changing a system's configuration with isn't much more difficult than provisioning a new system. For this, we will need the following facts for the new host: ntp_servers dns_servers dns_search We'll also need to...

Ansible : Playbook to Deploy a New VM with Kickstart File

Creating playbooks for Ansible is a relatively easy task as most considerations are handled by the modules. All modules are made as "idempotently" as possible, meaning that a module first checks what it is...

Ansible : Kickstart File Template

A template is one of the core modules of Ansible. It is used to easily generate files (for example, configuration files) based on a common set of facts. It uses the Jinja2 template engine to...

Ansible : How to Configure the Ansible Inventory

The Ansible inventory is the heart of the product as it provides a lot of variables about your environment to the deployment mechanism. These variables are known as facts and serve Ansible to make...

Ansible : How to Install Ansible

What is Ansible ? Ansible is an easy-to-use agentless system configuration management tool. It allows us to deploy complex configurations without the hassle of a complex interface or language. Ansible uses playbooks, which are...

RHEL/CentOS 7: How to Apply SELinux Policies

Let's see how to apply your newly created SELinux policies. In order to apply a policy, we need a policy package file (pp). This can be obtained by parsing AVC denials to audit2allow or compiling...

RHEL/CentOS 7: Creating SELinux Policies

In some cases, you'll need to create a new SELinux policy—for instance, when installing a piece of software from source. Although I do not recommend installing software from source on enterprise systems,...

RHEL/CentOS 7: Configuring SELinux port definitions

SELinux also controls access to your TCP/IP ports. If your application is confined by SELinux, it will also deny access to your ports when starting up the application. Let's see how to...