ATIX AG
  • Services
    • Consulting
      • Linux Platform Operations​
      • Infrastructure Automation
      • Container Platforms and Cloud
      • DevOps Processes, Tooling and Culture
      • Cloud Native Software Development
    • Products
      • orcharhino
        • About orcharhino
        • Support
        • orcharhino operation
    • Technologies
      • Ansible
      • AWX and Ansible Automation Platform
      • Docker
      • Foreman
      • GitLab
      • Istio
      • Kubernetes
      • Linux Distributions
      • OpenShift
      • Puppet
      • OpenVox
      • Rancher
      • Rundeck
      • SaltStack
      • SUSE Manager
      • Terraform
  • Trainings
    • Ansible Training
    • AWX Training
    • Docker & Container Training
    • Git Training
    • Kubernetes Training
    • OpenShift Training
    • orcharhino Training
    • OpenVox/Puppet Trainings
    • Terraform Training
  • Events
    • Webinars
  • Blog
  • Company
    • About Us
    • References
    • Corporate values
    • Social engagement
    • Newsroom
    • Newsletter
    • Contact us
  • Career
  • German
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

Configuration management with Ansible

The Puppet alternative from Red Hat. In times of large and dynamic IT infrastructures, the topic of IT automation is becoming increasingly important. There are a variety of solutions that are used depending on the nature of the infrastructure.

One of the best-known solutions is certainly Puppet. Ansible, which has been part of the Red Hat Group since 2015, is somewhat younger and so far less prominent. Ansible is an open source automation tool written in Python. A wide variety of automation options are already included in Ansible as so-called modules, but can also be written by the user themselves in any programming language. The prerequisite is that you can process or deliver input and output in JSON format.

ebook Infrastucture Automation

Free E-Book

Infrastructure Automation with Linux and Open Source Tools

This free e-book provides practical examples of how you can use Linux and open-source tools to simplify recurring tasks, reduce errors, and establish scalable IT processes.
Discover it now.

Download now for free

Instructions are written by the user as ad-hoc tasks, or combined and reusable as playbooks in YAML style.

[root@ansible playbook]# ansible-playbook example_playbook.yml -i inventory/inventory.ini PLAY
 [example_webhost]  **********************************************************
TASK [Gathering facts]  ************************************************************ ok: 
 [192 .168.121.31] TASK [Installiere httpd Paket]  ************************************ changed: 
 [192 .168.121.31] => (item=[u'epel-release', u'httpd'])
TASK [Kopiere httpd config- Datei auf den Zielrechner]  ********************************* changed: 
 [192 .168.121.31] TASK [Starten des httpd Service]  **************************** changed: 
 [192 .168.121.31] PLAY RECAP *************************************
[192 .168.121.31] : ok=4 changed=3 unreachable=0 failed=0

Variables, templates and programming logic can be defined and used via Jiinja syntax. If a playbook is to be executed on a client, Ansible sets up an SSH connection and moves the required modules, usually Python scripts, there. These are then executed locally; communication between the module on the client side and the master node occurs via JSON statements. After the playbook has been successfully processed, the local files on the client side are deleted again. From this functional principle it is clear that Ansible uses the push principle, i.e. instructions are sent from a master node to any number of clients. In contrast, Puppet uses the pull principle, in which clients pull instructions from a dedicated master.

The advantages and disadvantages are obvious: Ansible does not require any additional software or complicated configuration. The only requirement on the master page, in addition to Ansible, is Python version 2.6 or 2.7, as well as the playbook that is to be executed. The only limitation currently is Windows, which, like Puppet, cannot serve as MasterOS. On the client side, SSH access from the master and Python version 2.6 or higher are required. The disadvantage lies in the automation of playbook executions: Ansible currently only offers the option of automatically executing tasks and playbooks via the paid tool Tower, if you don’t want to use crontabs. In addition, Tower can also manage individual Ansible users and user groups, as well as SSH keys and passwords.

Red Hat has now also made Ansible Tower available free of charge. Up to this point you could use one of the open source alternatives, e.g. Semaphores help. In addition, orcharhino or Foreman can of course also be used to orchestrate clients via Ansible. The Ansible community is very active and constantly growing, so new features and a rapidly growing range of functions are guaranteed.

AnsibleTower

All in all, Ansible already offers a great way to automate IT infrastructures with relatively simple means, which is already fully competitive with Puppet . The combination of Ansible and Puppet probably offers the absolute best solution at the moment. It definitely remains exciting, not least due to Red Hat’s announcement that Ansible will be deeply integrated into its new products. What this means for Foreman, Satellite and other products remains to be seen. zeigen.

Ansible Training

The Ansible Training – “Fast Track” teaches participants how to manage infrastructures with Ansible as well as the basic concepts and best practices of Ansible. The “Ansible Extended Training” also offers an additional day where the trainer can specifically address individual questions and needs of the participants.

Find out more
You might also like
Event-Driven Ansible ATIX blog Event-Driven Ansible
ansible Automated Windows Patches with Ansible
Ansible Collections – More clarity and easier sharing in Ansible
Kafka and Ansible Automating Kafka with Ansible
cnfgcamp meet atix Configuring Hosts using Ansible
ansible blog atix Ansible Best Practices
ATIX-Crew
+ postsBio

Der ATIX-Crew besteht aus Leuten, die in unterschiedlichen Bereichen tätig sind: Consulting, Development/Engineering, Support, Vertrieb und Marketing.

  • ATIX-Crew
    Foreman Birthday Party 2024
  • ATIX-Crew
    CrewDay 2024
  • ATIX-Crew
    Navigating the XZ Security Vulnerability: A Comprehensive Guide
  • ATIX-Crew
    Automating Kafka with Ansible
  • ATIX-Crew
    Managing Large Debian Repositories with Pulp
  • ATIX-Crew
    Configuration Management across Different Networks with AWX
  • ATIX-Crew
    pulp_deb past, present, and future – tell us what pulp_deb development should focus on next
  • ATIX-Crew
    DevOps Culture “without Bullshit”
  • ATIX-Crew
    ATIX @ CfgMgmt Camp 2020
  • ATIX-Crew
    The Future of Ansible
  • ATIX-Crew
    A somewhat different OSAD
  • ATIX-Crew
    Save The Rhino
  • ATIX-Crew
    Ansible Collections – More clarity and easier sharing in Ansible
  • ATIX-Crew
    SBOL: Open Source based exchange for biotech enthusiasts
  • ATIX-Crew
    Test Ansible roles with Molecule
  • ATIX-Crew
    Workshops in the Cloud – What Ansible, Docker and the GitLab CI/CD offer for this
  • ATIX-Crew
    ATIX Crew on Tour: Geocaching and pasta salad by the water
  • ATIX-Crew
    ATIX’s Debian/Ubuntu Erratum Service is now open source!
  • ATIX-Crew
    The ATIX crew @ Config Management Camp 2019
  • ATIX-Crew
    From the starting block into the fire!
  • ATIX-Crew
    orcharhino-installer Plugin Selection
  • ATIX-Crew
    fpm – the fast track to the parcel
  • ATIX-Crew
    ATIX #CrewDay: Rhino learns to speak!
  • ATIX-Crew
    SaltStack: Salty alternative to the puppet player
  • ATIX-Crew
    Snapshots for everyone!
  • ATIX-Crew
    Creation of Foreman RPM packages with Docker containers
  • ATIX-Crew
    Rancher: New containers for the (server) farm – quick and easy
  • ATIX-Crew
    Rancher: Conducting a container pack
  • ATIX-Crew
    Docker Swarm: A herd of containers
  • ATIX-Crew
    ATIX at the Chemnitz Linux Days 2017 – A story from the perspective of our learners
  • ATIX-Crew
    Software-defined storage
  • ATIX-Crew
    Docker containers – a lightweight alternative to virtualization
  • ATIX-Crew
    Selenium IDE – Automated testing of web applications with a browser

On this page

ISO 27001 Certified Download ISO 27001 Certificate
ISO 9001 Certified Download ISO 9001 Certificate
Newsletter
Never miss anything again. Sign up for the ATIX newsletter!
Sign up now
Blog
  • Blog Start Page
  • ATIX Insights
  • Cloud Native
  • Container Plattformen und Cloud
  • DevOps
  • Infrastructure Automation
  • Linux Platform Operations
  • orcharhino
Privacy & Legal

Privacy Policy

Imprint

Terms and Conditions

B2B

Twitter     Facebook    LinkedIn    Youtube     mastodon=

© Copyright – ATIX AG

Scroll to top Scroll to top Scroll to top
×
ebook Infrastucture Automation

Free E-Book

Infrastructure Automation with Linux and Open Source Tools

This free e-book provides practical examples of how you can use Linux and open-source tools to simplify recurring tasks, reduce errors, and establish scalable IT processes.
Discover it now.

Download now for free