fix(authentik): use bool filter for authentik_enabled conditional
ansible-core-net / deploy (push) Successful in 6s
ansible-core-net / deploy (push) Successful in 6s
This commit is contained in:
1 parent
c0a9d7f0c8
commit
18a6b1fbe4
1 file changed
+2
-2
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Остановить Authentik если сервис отключен
|
||||
when: not authentik_enabled
|
||||
when: not (authentik_enabled | bool)
|
||||
block:
|
||||
- name: Проверить наличие compose.yaml для Authentik
|
||||
ansible.builtin.stat:
|
||||
@@ -15,7 +15,7 @@
|
||||
failed_when: false
|
||||
|
||||
- name: Управление сервисом Authentik
|
||||
when: authentik_enabled
|
||||
when: authentik_enabled | bool
|
||||
block:
|
||||
- name: Создать каталоги для сервиса Authentik с корректными правами
|
||||
ansible.builtin.file:
|
||||
|
||||
Reference in new issue
Block a user