Ansible

ansible is another player in the configuration management, deployment, and command execution framework eco system. Some advantages are: ansible is small, it has only a few dependencies, and it’s written in python.

Installation

Fedora:

Alpine Linux:

Authentication
For authentication ansible uses ssh. For every system you want to manage, you need to have your SSH key in the ~/.ssh/authorized_keys of the target system.

Hosts
The file /etc/ansible/hosts needs an entry for every system in addition to the ssh key you want to maintain.

Usage
Now the setup is complete and we are ready for a first test.

The so-called Playbooks are using the YAML format and have a minimum of syntax. For managing systems this is the way to go.

This entry was posted in Alpine Linux, Configuration management, Fedora. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.