add install instructions
This commit is contained in:
parent
82b62fe425
commit
3ef2da540b
10
README.md
10
README.md
|
@ -2,6 +2,14 @@
|
|||
|
||||
Ansible playbooks to manage the IT infrastructure.
|
||||
|
||||
## Install Ansible
|
||||
|
||||
Using the `dnf` package manager:
|
||||
|
||||
```sh
|
||||
sudo dnf install ansible
|
||||
```
|
||||
|
||||
## Configure hosts
|
||||
|
||||
Make sure to define the hosts in `/etc/ansible/hosts`:
|
||||
|
@ -17,4 +25,4 @@ The `ssh` credentials can be specified interactively:
|
|||
|
||||
```sh
|
||||
ansible-playbook <playbook>.yml -k
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue