--- dns: hosts: dns_1: ansible_host: 192.168.1.3 sync_target: 192.168.1.4 dns_2: ansible_host: 192.168.1.4 sync_target: 192.168.1.3 nginx: hosts: nginx_1: ansible_host: 192.168.1.12