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
|
||||
mode: '0750'
|
||||
|
||||
- name: "Template .env files for Authentik with Docker"
|
||||
- name: "Template .env file for Authentik with Docker"
|
||||
ansible.builtin.template:
|
||||
src: "authentik.env.j2"
|
||||
dest: "{{ docker_volumes_dir }}/authentik/authentik.env"
|
||||
force: true
|
||||
owner: authentik-docker
|
||||
group: docker
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0660'
|
||||
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"
|
||||
docker_network:
|
||||
name: authentik_net
|
||||
|
@ -84,25 +72,6 @@
|
|||
- authentik-db-docker.service
|
||||
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"
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: yes
|
||||
|
@ -118,8 +87,3 @@
|
|||
- authentik-redis-docker.service
|
||||
- authentik-server-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