mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-17 11:38:08 +00:00
Refactored condition
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
- name: "set oauth2_proxy_application_id (Needed due to lazzy loading issue)"
|
- name: "set oauth2_proxy_application_id (Needed due to lazzy loading issue)"
|
||||||
set_fact:
|
set_fact:
|
||||||
oauth2_proxy_application_id: "{{ application_id }}"
|
oauth2_proxy_application_id: "{{ application_id }}"
|
||||||
when: "{{applications[application_id].get('features', {}).get('oauth2', False)}}"
|
when: applications | is_feature_enabled('oauth2',application_id)
|
||||||
|
|
||||||
- name: "include the docker-oauth2-proxy role {{domain}}"
|
- name: "include the docker-oauth2-proxy role {{domain}}"
|
||||||
include_role:
|
include_role:
|
||||||
name: docker-oauth2-proxy
|
name: docker-oauth2-proxy
|
||||||
when: "{{applications[application_id].get('features', {}).get('oauth2', False)}}"
|
when: applications | is_feature_enabled('oauth2',application_id)
|
Reference in New Issue
Block a user