Add reponse for ansible
Signed-off-by: Arnaud M <arnaud.choupinette@mailops.fr>
This commit is contained in:
@@ -35,13 +35,12 @@ Check if ansible is correctly installed (and the version you have):
|
||||
ansible --version
|
||||
```
|
||||
```
|
||||
ansible 2.7.7
|
||||
config file = /etc/ansible/ansible.cfg
|
||||
ansible 2.10.8
|
||||
config file = None
|
||||
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
|
||||
ansible python module location = /usr/lib/python3/dist-packages/ansible
|
||||
executable location = /usr/bin/ansible
|
||||
python version = 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]
|
||||
|
||||
python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
|
||||
```
|
||||
|
||||
## Ad-hoc ping
|
||||
@@ -68,7 +67,7 @@ ansible localhost -m shell -a "hostname"
|
||||
Result:
|
||||
```
|
||||
localhost | CHANGED | rc=0 >>
|
||||
ansible101
|
||||
isen-x
|
||||
|
||||
```
|
||||
Q: what command can you use to get the IP of your machine?
|
||||
|
||||
Reference in New Issue
Block a user