Added file hosts
This commit is contained in:
14
README.md
14
README.md
@@ -83,11 +83,17 @@ vagrant@ansible$ nano example_ansible/hosts/all
|
|||||||
And on the file `hosts/all` and the following lines:
|
And on the file `hosts/all` and the following lines:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[alfa]
|
[all:vars]
|
||||||
192.168.0.2
|
ansible_python_interpreter=/usr/bin/python3.12
|
||||||
|
|
||||||
[bravo]
|
[database]
|
||||||
192.168.0.3
|
192.168.11.20
|
||||||
|
|
||||||
|
[loadbalancer]
|
||||||
|
192.168.11.30
|
||||||
|
|
||||||
|
[webserver]
|
||||||
|
192.168.11.40
|
||||||
```
|
```
|
||||||
|
|
||||||
* Check if everything works executing the following command:
|
* Check if everything works executing the following command:
|
||||||
|
|||||||
Reference in New Issue
Block a user