Ansible playbooks to manage the IT infrastructure
etc/ansible | ||
playbooks | ||
LICENSE | ||
ntfy-ssh | ||
README.md | ||
systems-update.yml |
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
Run playbooks
The ssh
credentials can be specified interactively:
ansible-playbook <playbook>.yml -k