--- - name: create wireguard backbone service template copy: src: wgbackbone@.service dest: /etc/systemd/system/wgbackbone@.service - include_tasks: fastd_tasks.yml when: "('fastd' in group_names)" - include_tasks: wg_tasks.yml when: "('wg' in group_names)" - include_tasks: uplink_tasks.yml when: "'uplink' in group_names"