Do not apply salt state if already applying a state

This commit is contained in:
Jason Ertel committed 2021-06-04 21:56:41 -04:00
1 parent e22421ec99
commit ba29b5e036
3 files changed
+6 -7

No files matched your search

+2
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