mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-03 16:09:29 +00:00
Removed inj_enabled. logic
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# Keep in mind to don't use inj_enabled.
|
||||||
|
|
||||||
- name: "Check if Matomo endpoint is reachable"
|
- name: "Check if Matomo endpoint is reachable"
|
||||||
uri:
|
uri:
|
||||||
url: "{{ domains | get_url('web-app-matomo', WEB_PROTOCOL) }}"
|
url: "{{ domains | get_url('web-app-matomo', WEB_PROTOCOL) }}"
|
||||||
@@ -11,11 +13,11 @@
|
|||||||
when:
|
when:
|
||||||
- application_id != 'web-app-matomo'
|
- application_id != 'web-app-matomo'
|
||||||
- run_once_web_app_matomo is not defined
|
- run_once_web_app_matomo is not defined
|
||||||
- inj_enabled.matomo
|
|
||||||
|
|
||||||
- name: "Setup web-app-matomo because endpoint was not reachable"
|
- name: "Setup web-app-matomo because endpoint was not reachable"
|
||||||
include_role:
|
include_role:
|
||||||
name: web-app-matomo
|
name: web-app-matomo
|
||||||
|
public: false
|
||||||
when:
|
when:
|
||||||
- matomo_reachability is defined
|
- matomo_reachability is defined
|
||||||
- matomo_reachability.status | default(0) not in [200, 301, 302]
|
- matomo_reachability.status | default(0) not in [200, 301, 302]
|
||||||
@@ -39,4 +41,3 @@
|
|||||||
when:
|
when:
|
||||||
- run_once_web_svc_logout is not defined
|
- run_once_web_svc_logout is not defined
|
||||||
- application_id != 'web-svc-logout'
|
- application_id != 'web-svc-logout'
|
||||||
- inj_enabled.logout
|
|
||||||
Reference in New Issue
Block a user