ansible-authelia-role/tasks/main.yml
2023-04-18 19:46:08 +02:00

18 lines
451 B
YAML

---
# tasks file for Ansible-Authelia-Role
- name: Install Authelia from DEB file
ansible.builtin.apt:
deb: "{{ authelia_dowload_url }}"
notify: Restart authelia
- name: Install config
ansible.builtin.template:
src: configuration.yml.j2
dest: /etc/authelia/configuration.yml
mode: "0600"
owner: root
group: root
validate: authelia validate-config --config /etc/authelia/configuration.yml
notify: Restart authelia