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.

24 lines
816 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
  13. [anygroup]
  14. server1 ansible_host=192.168.0.1
  15. server2 ansible_host=192.168.0.2
  16. server3 ansible_host=192.168.0.3
  17. server4 ansible_host=192.168.0.4
  18. # Add your own groups here. Hosts can be added to multiple groups like so:
  19. # [anothergroup]
  20. # server[1:3]
  21. # anotherserver ansible_host=192.168.0.10