mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-16 13:11:23 +01:00
23 lines
461 B
Plaintext
23 lines
461 B
Plaintext
{% 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
|
|
|
|
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
|