Add reponse for ansible
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
@@ -7,11 +7,13 @@ But ansible can be used to manage multiple systems that you have in your infrast
|
||||
To do so, we must tell ansible which servers compose our infrastructure. This is done thanks to an `inventory` file.
|
||||
The default `inventory` file for ansible is located in `/etc/ansible/hosts`.
|
||||
|
||||
For now, your inventory is empty, so you can create one:
|
||||
|
||||
```
|
||||
cat /etc/ansible/hosts
|
||||
mkdir -p /etc/ansible/
|
||||
touch /etc/ansible/hosts
|
||||
```
|
||||
|
||||
It's empty by default (not really empty, but everything is commented).
|
||||
With an empty `inventory` like that, ansible only knows about `localhost`.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user