Move automation user create to separate script to run after playbook state

This commit is contained in:
William Wernert
2020-09-30 17:02:02 -04:00
parent 8e80b41ca9
commit 6361c790e9
4 changed files with 65 additions and 33 deletions

View File

@@ -0,0 +1,14 @@
# This state will import the initial default playbook database.
# If there is an existing playbook database, it will be overwritten - no backups are made.
include:
- playbook
salt://playbook/files/create_automation_user.sh:
cmd.script:
- cwd: /root
- template: jinja
'sleep 5':
cmd.run