--- - name: Deploy KVM virtual machines ansible.builtin.import_playbook: include/deploy-kvm-guest.yml vars: myhosts: ocinode - name: Configure instance hosts: ocinode user: root gather_facts: true vars_files: - "{{ ansible_private }}/vars.yml" pre_tasks: - name: Mount /export ansible.posix.mount: name: /export src: LABEL=/export fstype: xfs opts: noatime,noexec,nosuid,nodev passno: "0" dump: "0" state: mounted when: ansible_fqdn == 'oci-node01.home.foo.sh' roles: - base - authcheck - grafana - kdc - role: php4dvd when: ansible_fqdn == 'oci-node01.home.foo.sh' - role: roundcube when: ansible_fqdn == 'oci-node01.home.foo.sh'