Remove munin hosts
This commit is contained in:
parent
70708c137e
commit
3c851a572a
5 changed files with 0 additions and 70 deletions
|
@ -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]}
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
vmhost: vmhost01.home.foo.sh
|
||||
network_interfaces:
|
||||
- device: eth0
|
||||
vlan: 20
|
||||
mac: 52:54:00:ac:dc:3f
|
|
@ -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:
|
||||
|
|
|
@ -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: |
|
||||
<Location />
|
||||
AuthType GSSAPI
|
||||
GssapiBasicAuth On
|
||||
AuthName "Password Required"
|
||||
Require valid-user
|
||||
</Location>
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: Restart apache
|
2
site.yml
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue