Open main menu

CDOT Wiki β

Changes

OPS535-vl-lab-nfs

414 bytes added, 22:11, 30 May 2021
Task 2: Configure ansible's inventory file
co-nfs.stud14.ops ansible_host=192.168.14.3
rns-ldap.stud14.ops ansible_host=192.168.14.4
</pre>
* run the following commands to gather useful variables about remote hosts that can be used in ansible playbooks:
:* for remote host: vm2
<pre>
ansible pri-dns.<your dns domain> -m setup > pri-dns-setup.txt
</pre>
:* for remote host: vm3
<pre>
ansible co-nfs.<your dns domain> -m setup > co-nfs-setup.txt
</pre>
:* for remote host: vm4
<pre>
ansible rns-ldap.<your dns domain> -m setup > rns-ldap-setup.txt
</pre>
1,760
edits