Do not apply salt state if already applying a state

This commit is contained in:
Jason Ertel
2021-06-04 21:56:41 -04:00
parent e22421ec99
commit ba29b5e036
3 changed files with 6 additions and 7 deletions

View File

@@ -119,6 +119,8 @@ elastic_curl_config_distributed:
syncesusers:
cmd.run:
- name: so-user sync
- env:
- SKIP_STATE_APPLY: 'true'
- creates:
- /opt/so/saltstack/local/salt/elasticsearch/files/users
- /opt/so/saltstack/local/salt/elasticsearch/files/users_roles