munin: typo bei vault (#220)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#220
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2021-10-15 12:38:56 +02:00
parent c6d48f8bae
commit 640ecffecd
2 changed files with 6 additions and 3 deletions

View file

@ -80,7 +80,7 @@
[mt_system_crs309] [mt_system_crs309]
user root user root
env.ssh_user munin env.ssh_user munin
env.ssh_password "{{ lookup('keepass', 'crs309_munin_user', 'password') }}" env.ssh_password {{ lookup('keepass', 'crs309_munin_user', 'password') }}
env.ssh_host 192.168.2.223 env.ssh_host 192.168.2.223
- name: mt_system_rb5009 - name: mt_system_rb5009
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/mikrotik/mt_system src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/mikrotik/mt_system
@ -88,7 +88,7 @@
[mt_system_rb5009] [mt_system_rb5009]
user root user root
env.ssh_user munin env.ssh_user munin
env.ssh_password "{{ lookup('keepass', 'rb5009_munin_user', 'password') }}" env.ssh_password {{ lookup('keepass', 'rb5009_munin_user', 'password') }}
env.ssh_host 192.168.2.1 env.ssh_host 192.168.2.1
- name: unifi - name: unifi
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/unifi src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/unifi
@ -98,7 +98,7 @@
# point to a read-only account. # point to a read-only account.
env.user munin env.user munin
# Password to login to unifi controller API. Default is "ubnt" # Password to login to unifi controller API. Default is "ubnt"
env.pass "{{ lookup('keepass', 'unifi_munin_user', 'password') }} env.pass {{ lookup('keepass', 'unifi_munin_user', 'password') }}
# URL of the API, with port if needed. No trailing slash. # URL of the API, with port if needed. No trailing slash.
env.api_url https://docker2.grote.lan:8443 env.api_url https://docker2.grote.lan:8443
# Verify SSL certificate name against host. # Verify SSL certificate name against host.

View file

@ -6,6 +6,7 @@
mode: '0755' mode: '0755'
loop: "{{ munin_node_plugins }}" loop: "{{ munin_node_plugins }}"
notify: restart munin-node notify: restart munin-node
no_log: true
- name: enable additional plugins - name: enable additional plugins
file: file:
@ -14,6 +15,7 @@
state: link state: link
notify: restart munin-node notify: restart munin-node
loop: "{{ munin_node_plugins }}" loop: "{{ munin_node_plugins }}"
no_log: true
- name: copy additional plugin-config - name: copy additional plugin-config
copy: copy:
@ -22,6 +24,7 @@
notify: restart munin-node notify: restart munin-node
loop: "{{ munin_node_plugins }}" loop: "{{ munin_node_plugins }}"
when: item.config is defined when: item.config is defined
no_log: true
- name: Ensure munin-node is running. - name: Ensure munin-node is running.
service: service: