Zack Williams | c047c87 | 2017-01-11 08:38:15 -0700 | [diff] [blame] | 1 | --- |
| 2 | # pki-install/tasks/main.yml |
| 3 | |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 4 | - name: Copy CA certificates |
Zack Williams | c047c87 | 2017-01-11 08:38:15 -0700 | [diff] [blame] | 5 | copy: |
Andy Bavier | 1cac001 | 2017-03-13 10:06:18 -0400 | [diff] [blame] | 6 | src: "{{ pki_dir }}/{{ item.src }}" |
Zack Williams | c047c87 | 2017-01-11 08:38:15 -0700 | [diff] [blame] | 7 | 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 Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 11 | - src: "{{ site_name }}_im_ca/certs/im_cert.pem" |
Zack Williams | c047c87 | 2017-01-11 08:38:15 -0700 | [diff] [blame] | 12 | dest: "cord_intermediate_ca.crt" |
| 13 | notify: |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 14 | - update-ca-certificates |
Andy Bavier | 1cac001 | 2017-03-13 10:06:18 -0400 | [diff] [blame] | 15 | |