import internal ca
This commit is contained in:
12
roles/base/tasks/system_setup/import_stepca.yml
Normal file
12
roles/base/tasks/system_setup/import_stepca.yml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
- block:
|
||||||
|
- name: base | system setup | get step-ca certificate
|
||||||
|
get_url:
|
||||||
|
url: "https://step-ca.universe.local/roots.pem"
|
||||||
|
dest: "/etc/ca-certificates/trust-source/anchors/"
|
||||||
|
|
||||||
|
- name: base | system setup | import step-ca certificate
|
||||||
|
command:
|
||||||
|
cmd: "update-ca-trust"
|
||||||
|
become: yes
|
||||||
|
rescue:
|
||||||
|
- set_fact: task_failed=true
|
||||||
Reference in New Issue
Block a user