Require authentication on munin web interface

This commit is contained in:
Timo Makinen 2021-03-18 11:02:29 +00:00
parent 9f3ff39286
commit 3e6c523b2f

View file

@ -28,3 +28,19 @@
principals: HTTP/munin.foo.sh@FOO.SH
group: apache
- munin-master
tasks:
- name: require authentication for munin web
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