-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ahembree/add-authentik
Add authentik
- Loading branch information
Showing
11 changed files
with
1,402 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
vars_files: | ||
- vars/default.yml | ||
- vars/._computed.yml | ||
|
||
roles: | ||
- docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Ensure Authelia config | ||
template: | ||
src: authelia.j2 | ||
dest: "{{ hms_docker_apps_path }}/authelia/configuration.yml" | ||
mode: 0600 | ||
owner: root | ||
group: root | ||
backup: yes | ||
force: no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
- name: Ensure authentik env | ||
template: | ||
src: authentik_env.j2 | ||
dest: "{{ hms_docker_data_path }}/.authentik.env" | ||
mode: 0600 | ||
owner: root | ||
group: root | ||
backup: yes | ||
force: no | ||
|
||
- name: Ensure Outposts directory | ||
file: | ||
path: "{{ hms_docker_apps_path }}/authentik/outposts" | ||
state: directory | ||
mode: 0755 | ||
owner: root | ||
group: root | ||
|
||
- name: Ensure authentik Outpost configs | ||
template: | ||
src: authentik_outpost.j2 | ||
dest: "{{ hms_docker_apps_path }}/authentik/outposts/authentik-{{ item.key }}.outpost.yml" | ||
mode: 0644 | ||
with_dict: "{{ hms_docker_container_map }}" | ||
when: item.value.enabled and (item.value.authentik is defined and item.value.authentik) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.