mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Move automation user create to separate script to run after playbook state
This commit is contained in:
14
salt/playbook/automation_user_create.sls
Normal file
14
salt/playbook/automation_user_create.sls
Normal 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
|
||||
Reference in New Issue
Block a user