Open main menu

CDOT Wiki β

Changes

Ops535 ansible lab

128 bytes added, 00:02, 29 January 2021
Part 3: Sample runs for using some Ansible's built-in modules
]
}
</pre>
: Try the same ansible ad-hoc command again:
<pre>
[rchan@host ~]$ ansible 192.168.49.3 -m dnf -a "name=bind state=present" -b
192.168.49.3 | SUCCESS => {
"results": []
}
</pre>
: Try to install the latest version of the bind package:
<pre>
[rchan@host ~]$ ansible 192.168.49.3 -m dnf -a "name=bind state=latest" -b
192.168.49.3 | SUCCESS => {
1,760
edits