Git initial commit
This commit is contained in:
commit
047b7103f2
8 files changed
+179
No files matched your search
Executable
+32
@@ -0,0 +1,32 @@
|
||||
---
|
||||
- name: setup authentik docker dir
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ item }}"
|
||||
loop:
|
||||
- "{{ authentik_dir }}"
|
||||
- "{{ authentik_inst }}"
|
||||
|
||||
- name: link installation folder
|
||||
file:
|
||||
state: link
|
||||
src: "{{ authentik_inst }}"
|
||||
dest: "{{ authentik_link }}"
|
||||
|
||||
- name: download authentik compose file
|
||||
get_url:
|
||||
url: "{{ authentik_source }}/{{ authentik_version }}/{{ authentik_target }}"
|
||||
dest: "{{ authentik_link }}/{{ authentik_target }}"
|
||||
force: yes
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart authentik
|
||||
|
||||
- name: template environment
|
||||
template:
|
||||
src: opt/authentik/.env.j2
|
||||
dest: "{{ authentik_link }}/.env"
|
||||
mode: 0640
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart authentik
|
||||
Reference in new issue
Block a user