--- - name: Deploy KVM virtual machines ansible.builtin.import_playbook: >- include/deploy-kvm-guest.yml myhosts=munin - name: Configure instance hosts: munin user: root gather_facts: true 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 vars_files: - "{{ ansible_private }}/vars.yml" roles: - base - mod_auth_gssapi - role: keytab keytab: /etc/httpd/httpd.keytab principals: HTTP/munin.foo.sh@FOO.SH group: apache - munin_server tasks: - name: Require authentication for munin web ansible.builtin.copy: dest: /etc/httpd/conf.local.d/munin-auth.conf content: | AuthType GSSAPI GssapiBasicAuth On AuthName "Password Required" Require valid-user mode: 0644 owner: root group: "{{ ansible_wheel }}" notify: Restart apache