ansible-authelia-role/tasks/main.yml

18 lines
422 B
YAML
Raw Permalink 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
2023-04-19 19:34:15 +02:00
validate: authelia validate-config --config %s
2023-04-18 19:46:08 +02:00
notify: Restart authelia