Ansible playbooks to manage the IT infrastructure
| etc/ansible | ||
| misc | ||
| playbooks | ||
| LICENSE | ||
| README.md | ||
ansible-playbooks
Ansible playbooks to manage the IT infrastructure.
Install Ansible
Using the dnf package manager:
sudo dnf install ansible
Configure hosts
Make sure to define the hosts in /etc/ansible/hosts:
[serversgroup]
<hostname or IP address> ansible_user=ansible
Hosts' public keys must be added to the root's know_hosts.
Run playbooks
The ssh credentials can be specified interactively:
ansible-playbook <playbook>.yml -k