Clean up: Remove commented parts from before the rewrite of the role
This commit is contained in:
parent
156ad3ad91
commit
0e0228f686
1 changed files with 3 additions and 39 deletions
|
@ -43,28 +43,16 @@
|
||||||
group: root
|
group: root
|
||||||
mode: '0750'
|
mode: '0750'
|
||||||
|
|
||||||
- name: "Template .env files for Authentik with Docker"
|
- name: "Template .env file for Authentik with Docker"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "authentik.env.j2"
|
src: "authentik.env.j2"
|
||||||
dest: "{{ docker_volumes_dir }}/authentik/authentik.env"
|
dest: "{{ docker_volumes_dir }}/authentik/authentik.env"
|
||||||
force: true
|
force: true
|
||||||
owner: authentik-docker
|
owner: root
|
||||||
group: docker
|
group: root
|
||||||
mode: '0660'
|
mode: '0660'
|
||||||
notify: restart-authentik-docker
|
notify: restart-authentik-docker
|
||||||
|
|
||||||
#- name: "Template docker-compose.yml for authentik-docker"
|
|
||||||
# ansible.builtin.template:
|
|
||||||
# src: "{{ item }}.j2"
|
|
||||||
# dest: "/{{ docker_compose_config_dir }}/authentik/{{ item }}"
|
|
||||||
# force: true
|
|
||||||
# owner: root
|
|
||||||
# group: docker
|
|
||||||
# mode: '0640'
|
|
||||||
# with_items:
|
|
||||||
# - docker-compose.yml
|
|
||||||
# notify: restart-authentik-docker
|
|
||||||
|
|
||||||
- name: "Create Docker network authentik_net"
|
- name: "Create Docker network authentik_net"
|
||||||
docker_network:
|
docker_network:
|
||||||
name: authentik_net
|
name: authentik_net
|
||||||
|
@ -84,25 +72,6 @@
|
||||||
- authentik-db-docker.service
|
- authentik-db-docker.service
|
||||||
register: units
|
register: units
|
||||||
|
|
||||||
#- name: "Add a user that will run the container"
|
|
||||||
# ansible.builtin.user:
|
|
||||||
# name: authentik-docker
|
|
||||||
# comment: Authentik Docker User
|
|
||||||
# home: "{{ docker_volumes_dir }}/authentik"
|
|
||||||
# group: docker
|
|
||||||
# system: true
|
|
||||||
|
|
||||||
#- name: "Template systemd unit file for Authentik with Docker"
|
|
||||||
# ansible.builtin.template:
|
|
||||||
# src: "authentik-docker.service.j2"
|
|
||||||
# dest: "/etc/systemd/system/authentik-docker.service"
|
|
||||||
# force: true
|
|
||||||
# owner: root
|
|
||||||
# group: root
|
|
||||||
# mode: '0644'
|
|
||||||
# register: unit
|
|
||||||
# notify: systemctl-daemon-reload
|
|
||||||
|
|
||||||
- name: "Reload systemd units"
|
- name: "Reload systemd units"
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
@ -118,8 +87,3 @@
|
||||||
- authentik-redis-docker.service
|
- authentik-redis-docker.service
|
||||||
- authentik-server-docker.service
|
- authentik-server-docker.service
|
||||||
- authentik-worker-docker.service
|
- authentik-worker-docker.service
|
||||||
|
|
||||||
#- name: "Enable systemctl service for authentik-docker"
|
|
||||||
# ansible.builtin.service:
|
|
||||||
# state: started
|
|
||||||
# name: "authentik-docker.service"
|
|
||||||
|
|
Loading…
Reference in a new issue