mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
only append to so-status.conf if needed
This commit is contained in:
@@ -10,6 +10,7 @@ append_so-playbook_so-status.conf:
|
|||||||
file.append:
|
file.append:
|
||||||
- name: /opt/so/conf/so-status/so-status.conf
|
- name: /opt/so/conf/so-status/so-status.conf
|
||||||
- text: so-playbook
|
- text: so-playbook
|
||||||
|
- unless: grep -q so-playbook /opt/so/conf/so-status/so-status.conf
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user