stop cron before soup upgrades the manager, start cron at the end. add cron state that is in included in common

This commit is contained in:
m0duspwnens
2022-01-12 16:04:10 -05:00
parent 0cf877f169
commit 03b9b74ace
6 changed files with 38 additions and 1 deletions

View File

@@ -4,8 +4,9 @@
{% set role = grains.id.split('_') | last %}
{% from 'elasticsearch/auth.map.jinja' import ELASTICAUTH with context %}
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
include:
- cron.running
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
- manager.elasticsearch # needed for elastic_curl_config state
{% endif %}