change the app create to the primary master
@@ -267,6 +267,7 @@ host_monitoring_cron:
{% endif %}
{% if osohm_host_type == 'master' %}
+{% if osohm_master_primary | default(False) | bool %}
{# Openshift Master checks #}
{% if osohm_enable_app_create|bool %}
- name: run create app
@@ -282,6 +283,7 @@ host_monitoring_cron:
minute: "*/30"
job: "ops-runner -f -t 1300 -s 120 -n csca.openshift.master.app.build.create /usr/bin/cron-send-create-app -v --basename build --loopcount 180 --source https://github.com/openshift/nodejs-ex &>> /var/log/build_app.log"
{% endif %}
+{% endif %}
- name: check the dnsmasq status every 5 minutes
minute: "*/5"
