--- - 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 tasks: - name: run handlers to get interfaces configured meta: flush_handlers - import_role: name: dhcpd - name: copy dns zone files copy: dest: "/var/lib/unbound/{{ item }}" src: "/srv/dns/{{ item }}" mode: 0644 owner: root group: "{{ ansible_wheel }}" tags: dns notify: restart unbound with_items: - 24.20.172.in-addr.arpa - print.foo.sh - import_role: name: unbound - import_role: name: cups-server - import_role: name: keytab vars: keytab: /etc/cups/cups.keytab principals: "HTTP/print.foo.sh@{{ kerberos_realm }}"