hosts.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This is the default ansible 'hosts' file.
  2. #
  3. # It should live in /etc/ansible/hosts
  4. #
  5. # - Comments begin with the '#' character
  6. # - Blank lines are ignored
  7. # - Groups of hosts are delimited by [header] elements
  8. # - You can enter hostnames or ip addresses
  9. # - A hostname/ip can be a member of multiple groups
  10. ---
  11. all:
  12. vars:
  13. ansible_port: 24
  14. ansible_user: m-an
  15. ansible_become: true
  16. apu:
  17. hosts:
  18. gmuend:
  19. ansible_host: 192.168.2.60
  20. # ansible_port: 24
  21. ansible_become_password: "{{ gmuend_password }}"
  22. desktops:
  23. hosts:
  24. gmuendlap:
  25. ansible_host: 192.168.2.61
  26. # ansible_port: 24
  27. ansible_become_pass: '{{ gmuendlap_password }}'
  28. gmuend2lap:
  29. ansible_host: 192.168.2.62
  30. ansible_port: 22
  31. ansible_become_pass: '{{ gmuend2lap_password }}'
  32. # 127.0.0.1:24
  33. # gmuend.ffdo.net:24 ansible_user=m-an ansible_become=true
  34. # hoerde.ffdo.net:24 ansible_user=maselmann ansible_become=true ansible_become_method=su
  35. # 194.104.114.172:24 ansible_user=maselmann ansible_become=true ansible_become_method=sudo
  36. # nordstadt.ffdo.net:24 hat kein python, garkeins!