--- - import_playbook: "include/deploy-kvm-guest.yml myhosts=print" - name: configure instance hosts: print user: root gather_facts: true vars_files: - "{{ ansible_private }}/vars.yml" roles: - base - sssd - mkhomedir - cups/server - role: kerberos/keytab keytab: /etc/cups/cups.keytab principals: "HTTP/print.foo.sh@{{ kerberos_realm }}" tasks: - name: copy dns zone files copy: dest: "/var/lib/unbound/{{ item }}" src: "/srv/dns/{{ item }}" mode: 0644 owner: root group: "{{ ansible_wheel }}" notify: restart unbound with_items: - 24.20.172.in-addr.arpa - print.foo.sh - import_role: name: unbound