hosts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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. ansible_port: 24
  13. ansible_user: m-an
  14. ansible_become: true
  15. apu:
  16. hosts:
  17. gmuend:
  18. ansible_host: 192.168.2.60
  19. ansible_become_password: "{{ gmuend_password }}"
  20. desktops:
  21. hosts:
  22. gmuendlap:
  23. ansible_host: 192.168.2.61
  24. ansible_become_pass: '{{ gmuendlap_password }}'
  25. gmuend2lap:
  26. ansible_host: 192.xxx
  27. ansible_become_pass: '{{ gmuend2lap_pw }}'
  28. # 127.0.0.1:24
  29. # gmuend.ffdo.net:24 ansible_user=m-an ansible_become=true
  30. # hoerde.ffdo.net:24 ansible_user=maselmann ansible_become=true ansible_become_method=su
  31. # 194.104.114.172:24 ansible_user=maselmann ansible_become=true ansible_become_method=sudo
  32. # nordstadt.ffdo.net:24 hat kein python, garkeins!