mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 06:33:56 +02:00
Move Delete the CA key
task to the appropriate role (#1393)
This commit is contained in:
parent
4ea1dcdf5a
commit
1c7e1dc331
2 changed files with 10 additions and 10 deletions
|
@ -209,3 +209,13 @@
|
||||||
- gencrl.changed
|
- gencrl.changed
|
||||||
notify:
|
notify:
|
||||||
- rereadcrls
|
- rereadcrls
|
||||||
|
|
||||||
|
- name: Delete the CA key
|
||||||
|
local_action:
|
||||||
|
module: file
|
||||||
|
path: "{{ ipsec_pki_path }}/private/cakey.pem"
|
||||||
|
state: absent
|
||||||
|
become: false
|
||||||
|
when:
|
||||||
|
- ipsec_enabled
|
||||||
|
- not algo_store_cakey
|
||||||
|
|
10
server.yml
10
server.yml
|
@ -37,16 +37,6 @@
|
||||||
tags: ssh_tunneling
|
tags: ssh_tunneling
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Delete the CA key
|
|
||||||
local_action:
|
|
||||||
module: file
|
|
||||||
path: "{{ ipsec_pki_path }}/private/cakey.pem"
|
|
||||||
state: absent
|
|
||||||
become: false
|
|
||||||
when:
|
|
||||||
- ipsec_enabled
|
|
||||||
- not algo_store_cakey
|
|
||||||
|
|
||||||
- name: Dump the configuration
|
- name: Dump the configuration
|
||||||
local_action:
|
local_action:
|
||||||
module: copy
|
module: copy
|
||||||
|
|
Loading…
Add table
Reference in a new issue