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