ansible-base/roles/munin-async/tasks/user.yml

15 lines
366 B
YAML

---
- name: "Munin user for remote access created"
user:
name: "{{ munin_async_user }}"
password: "!"
when: ansible_os_family == 'OpenBSD'
- 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