mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 11:12:51 +01:00
remove role logic
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
{% if grains.role in ['so-helix', 'so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import' ] %}
|
||||
|
||||
pki_private_key:
|
||||
file.absent:
|
||||
- name: /etc/pki/ca.key
|
||||
@@ -8,15 +6,6 @@ pki_public_ca_crt:
|
||||
file.absent:
|
||||
- name: /etc/pki/ca.crt
|
||||
|
||||
{% else %}
|
||||
|
||||
not_a_ca:
|
||||
test.succeed_without_changes:
|
||||
- name: no_ca
|
||||
- comment: "Not a CA, so no CA to remove."
|
||||
|
||||
{% endif %}
|
||||
|
||||
remove_ca-certificates.crt:
|
||||
file.absent:
|
||||
- name: /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
Reference in New Issue
Block a user