ansible-authelia-role/tasks/main.yml

18 lines
451 B
YAML
Raw Normal View History

2023-04-18 19:11:16 +02:00
---
# tasks file for Ansible-Authelia-Role
2023-04-18 19:46:08 +02:00
- 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