summaryrefslogtreecommitdiffstats
path: root/ansible/roles/certificates/tasks/upload_root_ca.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/certificates/tasks/upload_root_ca.yml')
-rw-r--r--ansible/roles/certificates/tasks/upload_root_ca.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/certificates/tasks/upload_root_ca.yml b/ansible/roles/certificates/tasks/upload_root_ca.yml
new file mode 100644
index 00000000..5a59d27b
--- /dev/null
+++ b/ansible/roles/certificates/tasks/upload_root_ca.yml
@@ -0,0 +1,10 @@
+---
+- name: Copy root certificate
+ copy:
+ src: "/certs/rootCA.crt"
+ dest: /etc/pki/ca-trust/source/anchors/
+ notify: Restart Docker
+
+- name: Extract root certificate
+ command: /usr/bin/update-ca-trust extract
+ notify: Restart Docker