diff options
author | Tlacenka <tlacencin@gmail.com> | 2017-10-18 12:55:58 +0200 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2017-10-18 12:55:58 +0200 |
commit | 3823c72af11f77b9639176921b398fbab2ac04fd (patch) | |
tree | 7ae3f886bfc98fa23376f2450aad5c886ecb66eb /playbooks/provisioning/openstack/custom-actions | |
parent | d2ff422b284f04b8a19ad4c6aa388ba397d915e1 (diff) | |
download | openshift-3823c72af11f77b9639176921b398fbab2ac04fd.tar.gz openshift-3823c72af11f77b9639176921b398fbab2ac04fd.tar.bz2 openshift-3823c72af11f77b9639176921b398fbab2ac04fd.tar.xz openshift-3823c72af11f77b9639176921b398fbab2ac04fd.zip |
Add Extra CAs (custom post-provision action) (#801)
* add cas: playbook adding new CAs created
* add CAs: README updated, bug fixes
* README: improvements
* README: minor fixes
* README: removed code snippet
* README: fix
Diffstat (limited to 'playbooks/provisioning/openstack/custom-actions')
-rw-r--r-- | playbooks/provisioning/openstack/custom-actions/add-cas.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/custom-actions/add-cas.yml b/playbooks/provisioning/openstack/custom-actions/add-cas.yml new file mode 100644 index 000000000..b2c195f91 --- /dev/null +++ b/playbooks/provisioning/openstack/custom-actions/add-cas.yml @@ -0,0 +1,13 @@ +--- +- hosts: cluster_hosts + become: true + vars: + ca_files: [] + tasks: + - name: Copy CAs to the trusted CAs location + with_items: "{{ ca_files }}" + copy: + src: "{{ item }}" + dest: /etc/pki/ca-trust/source/anchors/ + - name: Update trusted CAs + shell: 'update-ca-trust enable && update-ca-trust extract' |