wickedjackal

raspi inventory

Feb 21st, 2023 (edited)
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.67 KB | None | 0 0
  1. [master]
  2. master ansible_host=<IP address or hostname of the master node>
  3. [raspberrypi]
  4. Raspi01 ansible_host=<IP address or hostname of Raspi01>
  5. Raspi02 ansible_host=<192.168.0.104>
  6. Raspi03 ansible_host=<192.168.0.105>
  7. Raspi04 ansible_host=<192.168.0.107>
  8. Raspi05 ansible_host=<IP address or hostname of Raspi05>
  9. Raspi06 ansible_host=<IP address or hostname of Raspi06>
  10. Raspi07 ansible_host=<IP address or hostname of Raspi07>
  11. Raspi08 ansible_host=<IP address or hostname of Raspi08>
  12. [all:vars]
  13. ansible_user=<the username you use to log in to each node>
  14. ansible_ssh_private_key_file=<the path to the private key you use to log in>
  15. ansible_python_interpreter=/usr/bin/python3
Tags: ansible
Advertisement
Add Comment
Please, Sign In to add comment