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

15 lines
366 B
YAML
Raw Normal View History

---
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'
- 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