You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
936 B

7 years ago
7 years ago
  1. # This is the default ansible 'hosts' file.
  2. #
  3. # It should live in your Git repository, and there should be a link from /etc/ansible/hosts:
  4. # /etc/ansible/hosts -> /path/to/myAnsibleProject/hosts
  5. #
  6. # - Comments begin with the '#' character
  7. # - Blank lines are ignored
  8. # - Groups of hosts are delimited by [header] elements
  9. # - You can enter hostnames or ip addresses
  10. # - A hostname/ip can be a member of multiple groups
  11. [lxc_templates]
  12. #debian10 ansible_host=debian10.dedic106-dhcp.dimti.ru ansible_user=root
  13. #debian10 ansible_host='{{ lxc_host }}' ansible_port=22230
  14. debian10 ansible_host='{{ lxc_host }}'
  15. [anygroup]
  16. server1 ansible_host=192.168.0.1
  17. server2 ansible_host=192.168.0.2
  18. server3 ansible_host=192.168.0.3
  19. server4 ansible_host=192.168.0.4
  20. # Add your own groups here. Hosts can be added to multiple groups like so:
  21. # [anothergroup]
  22. # server[1:3]
  23. # anotherserver ansible_host=192.168.0.10