--- - name: Ensure installation of Wireguard software include_tasks: install.yml - name: Ensure configuration of Wireguard include_tasks: configure.yml - name: Ensure configuration of Wireguard router include_tasks: configure_router.yml when: ansible_host in groups['wireguard_routers']