blob: 77c880635840755a7e2e71db8b0845c71476be10 [file] [log] [blame]
Zack Williamsc047c872017-01-11 08:38:15 -07001---
2# pki-install/tasks/main.yml
3
Zack Williams44845c62017-04-21 13:57:14 -07004- name: Copy CA certificates
Zack Williamsc047c872017-01-11 08:38:15 -07005 copy:
Andy Bavier1cac0012017-03-13 10:06:18 -04006 src: "{{ pki_dir }}/{{ item.src }}"
Zack Williamsc047c872017-01-11 08:38:15 -07007 dest: "/usr/local/share/ca-certificates/{{ item.dest }}"
8 with_items:
9 - src: "root_ca/certs/ca_cert.pem"
10 dest: "cord_root_ca.crt"
Zack Williams44845c62017-04-21 13:57:14 -070011 - src: "{{ site_name }}_im_ca/certs/im_cert.pem"
Zack Williamsc047c872017-01-11 08:38:15 -070012 dest: "cord_intermediate_ca.crt"
13 notify:
Zack Williams44845c62017-04-21 13:57:14 -070014 - update-ca-certificates
Andy Bavier1cac0012017-03-13 10:06:18 -040015