Require authentication on munin web interface
This commit is contained in:
parent
9f3ff39286
commit
3e6c523b2f
1 changed files with 16 additions and 0 deletions
|
@ -28,3 +28,19 @@
|
||||||
principals: HTTP/munin.foo.sh@FOO.SH
|
principals: HTTP/munin.foo.sh@FOO.SH
|
||||||
group: apache
|
group: apache
|
||||||
- munin-master
|
- 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue