mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-18 15:17:07 +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
|
||||
notify:
|
||||
- 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
|
||||
|
||||
- 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
|
||||
local_action:
|
||||
module: copy
|
||||
|
|
Loading…
Add table
Reference in a new issue