Установка
/etc/ansible/hosts
Пример
[final_project] CA ansible_user=user ansible_port=2567 ansible_host=192.168.1.101 VPN ansible_user=user ansible_port=2678 ansible_host=192.168.1.102 Monitor ansible_user=user ansible_port=2678 ansible_host=192.168.1.103 [servers] server1 ansible_user=user ansible_port=2678 ansible_host=8.4.42.21 server2 ansible_user=user ansible_port=2728 ansible_host=192.168.1.200