hac/ansible/roles/authentik/tasks/main.yml

33 lines
657 B
YAML
Raw Normal View History

2024-03-24 22:12:56 +01:00
---
2024-03-25 00:32:09 +01:00
- name: Install dependencies
ansible.builtin.import_tasks: dependencies.yml
become: true
tags:
2024-03-25 00:51:16 +01:00
- install_dependencies
2024-03-24 22:12:56 +01:00
2024-03-25 00:32:09 +01:00
- name: Build authentik
ansible.builtin.import_tasks: build.yml
become: true
tags:
- build
become_user: authentik
2024-04-17 10:45:26 +02:00
- name: Create useful directory
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: "0755"
owner: authentik
with_items:
- /opt/authentik/certs
- /opt/authentik/media
- /etc/authentik
- name: Test
ansible.builtin.copy:
remote_src: true
src: /opt/authentik/src/blueprints
dest: /opt/authentik/blueprints
owner: authentik
become: true