blob: 409ab0f65ee3433405de511de68a49a26a100ff6 [file] [log] [blame]
Zack Williamsc047c872017-01-11 08:38:15 -07001---
2# pki-install/handlers/main.yml
3
4- name: Run update-ca-certificates on head node
5 become: yes
6 command: update-ca-certificates
7
8- name: Copy root CA cert to all service VMs
9 command: ansible services -b -u ubuntu -m copy -a "src=/usr/local/share/ca-certificates/cord_root_ca.crt dest=/usr/local/share/ca-certificates/cord_root_ca.crt owner=root group=root mode=0644"
10
11- name: Copy intermediate CA cert to all service VMs
12 command: ansible services -b -u ubuntu -m copy -a "src=/usr/local/share/ca-certificates/cord_intermediate_ca.crt dest=/usr/local/share/ca-certificates/cord_intermediate_ca.crt owner=root group=root mode=0644"
13
14- name: update-ca-certificates in service VMs
15 command: ansible services -b -u ubuntu -m command -a "update-ca-certificates"
16