2020-07-12 12:04:23 +02:00
|
|
|
---
|
2020-08-23 17:55:09 +02:00
|
|
|
- name: "Munin user for remote access created"
|
|
|
|
user:
|
|
|
|
name: "{{ munin_async_user }}"
|
|
|
|
password: "!"
|
|
|
|
when: ansible_os_family == 'OpenBSD'
|
|
|
|
|
2020-07-12 12:04:23 +02:00
|
|
|
- name: Set up authorized key for Munin async user
|
|
|
|
authorized_key:
|
|
|
|
user: "{{ munin_async_user }}"
|
|
|
|
state: present
|
|
|
|
key: "{{ munin_async_authorized_key }}"
|
|
|
|
when: munin_async_authorized_key is defined
|
|
|
|
|