summaryrefslogtreecommitdiffstats
path: root/setup/projects/adei/vars
diff options
context:
space:
mode:
Diffstat (limited to 'setup/projects/adei/vars')
-rw-r--r--setup/projects/adei/vars/globals.yml38
1 files changed, 34 insertions, 4 deletions
diff --git a/setup/projects/adei/vars/globals.yml b/setup/projects/adei/vars/globals.yml
index 9ff9642..60cb212 100644
--- a/setup/projects/adei/vars/globals.yml
+++ b/setup/projects/adei/vars/globals.yml
@@ -13,8 +13,6 @@ adei_pod_env:
value: "adei"
- name: "MYSQL_DATABASE"
value: "adei"
- - name: "APACHE_SERVERS"
- value: "${apache_servers}"
- name: "ADEI_PORTS"
value: "8080"
- name: "ADEI_SETUP"
@@ -34,6 +32,8 @@ adei_prod_env:
value: "${enable_logs}"
- name: "ADEI_DEBUG"
value: "${enable_debug}"
+ - name: "APACHE_SERVERS"
+ value: "${apache_servers}"
adei_log_env:
- name: "ADEI_RELEASE"
@@ -42,6 +42,8 @@ adei_log_env:
value: "0"
- name: "ADEI_DEBUG"
value: "0"
+ - name: "APACHE_SERVERS"
+ value: "5"
adei_debug_env:
- name: "ADEI_RELEASE"
@@ -50,11 +52,12 @@ adei_debug_env:
value: "0"
- name: "ADEI_DEBUG"
value: "0"
+ - name: "APACHE_SERVERS"
+ value: "5"
adei_cron_env:
- name: "ADEI_SCHEDULER"
- value: "0"
-
+ value: "1"
adei_pod_vols:
@@ -113,6 +116,33 @@ adei_pod_mounts:
#adei_dbg_pod_mounts: "{{ adei_dbg_mounts | union(adei_pod_mounts) }}"
adei_frontends:
+ update:
+ name: "adei-${setup}-update"
+ cron: "${adei_schedule_cache}"
+ cmd: [ "/bin/bash", "/adei/src/scripts/cron/adei.cron.sh" ]
+ env: "{{ adei_pod_env | union(adei_cron_env) }}"
+ vols: "{{ adei_pod_vols }}"
+ mounts: "{{ adei_prod_mounts | union(adei_pod_mounts) }}"
+ groups: [ "adei" ]
+ enabled: true
+ maintain:
+ name: "adei-${setup}-maintain"
+ cron: "${adei_schedule_cache}"
+ cmd: [ "/bin/bash", "/adei/src/scripts/cron/adei_manager.cron.sh" ]
+ env: "{{ adei_pod_env | union(adei_cron_env) }}"
+ vols: "{{ adei_pod_vols }}"
+ mounts: "{{ adei_prod_mounts | union(adei_pod_mounts) }}"
+ groups: [ "adei" ]
+ enabled: false
+ clean:
+ name: "adei-${setup}-clean"
+ cron: "${adei_schedule_cache}"
+ cmd: [ "/bin/bash", "/adei/src/scripts/cron/adei_clean.cron.sh" ]
+ env: "{{ adei_pod_env | union(adei_cron_env) }}"
+ vols: "{{ adei_pod_vols }}"
+ mounts: "{{ adei_prod_mounts | union(adei_pod_mounts) }}"
+ groups: [ "adei" ]
+ enabled: false
frontend:
name: "adei-${setup}"
node: "adei-${setup}.{{ adei_domain }}"