diff --git a/group_vars/munin.yml b/group_vars/munin.yml deleted file mode 100644 index 6b6d92b..0000000 --- a/group_vars/munin.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -num_cpus: 4 -datadisks: - - {size: 10} - -firewall_in: - - {proto: tcp, port: 22, from: [172.20.20.0/22]} - - {proto: tcp, port: 443, from: [172.20.20.0/22]} - - {proto: tcp, port: 4949, from: [172.20.20.0/22]} diff --git a/host_vars/munin01.home.foo.sh.yml b/host_vars/munin01.home.foo.sh.yml deleted file mode 100644 index 5ab5053..0000000 --- a/host_vars/munin01.home.foo.sh.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -vmhost: vmhost01.home.foo.sh -network_interfaces: - - device: eth0 - vlan: 20 - mac: 52:54:00:ac:dc:3f diff --git a/hosts.yml b/hosts.yml index ada6a28..8152833 100644 --- a/hosts.yml +++ b/hosts.yml @@ -57,9 +57,6 @@ mongodb: mqtt: hosts: mqtt02.home.foo.sh: -munin: - hosts: - munin01.home.foo.sh: nas: hosts: nas02.home.foo.sh: @@ -139,7 +136,6 @@ rocky8: homeassistant: mail: minecraft: - munin: nas: nms: ocinode: diff --git a/playbooks/munin.yml b/playbooks/munin.yml deleted file mode 100644 index 9ce19ce..0000000 --- a/playbooks/munin.yml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Deploy KVM virtual machines - ansible.builtin.import_playbook: include/deploy-kvm-guest.yml - vars: - 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 diff --git a/site.yml b/site.yml index 3930952..5580714 100644 --- a/site.yml +++ b/site.yml @@ -33,8 +33,6 @@ ansible.builtin.import_playbook: playbooks/mongodb.yml - name: Configure mqtt hosts ansible.builtin.import_playbook: playbooks/mqtt.yml -- name: Configure munin hosts - ansible.builtin.import_playbook: playbooks/munin.yml - name: Configure nas hosts ansible.builtin.import_playbook: playbooks/nas.yml - name: Configure nms hosts