summaryrefslogtreecommitdiffstats
path: root/roles/cloud_compute
diff options
context:
space:
mode:
authorMiroslav Suchý <msuchy@redhat.com>2015-03-05 15:20:26 +0000
committerMiroslav Suchý <msuchy@redhat.com>2015-03-05 15:20:26 +0000
commit46f83e9541857d4dfc393e4deb1ec772fe217053 (patch)
treefb9d1c40e8d2b959c35bb574020218b61431f015 /roles/cloud_compute
parentdc156003afc79a7f5d0a83fead8b9d152cded5d5 (diff)
downloadansible-46f83e9541857d4dfc393e4deb1ec772fe217053.tar.gz
ansible-46f83e9541857d4dfc393e4deb1ec772fe217053.tar.xz
ansible-46f83e9541857d4dfc393e4deb1ec772fe217053.zip
recognize controller cert on compute nodes as valid
Diffstat (limited to 'roles/cloud_compute')
-rw-r--r--roles/cloud_compute/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/cloud_compute/tasks/main.yml b/roles/cloud_compute/tasks/main.yml
index 6a94de18f..dd3d17625 100644
--- a/roles/cloud_compute/tasks/main.yml
+++ b/roles/cloud_compute/tasks/main.yml
@@ -17,6 +17,10 @@
notify:
- restart network
+- name: add cert to ca-bundle.crt so plain curl works
+ copy: src={{ private }}/files/openstack/fed-cloud09.pem dest=/etc/pki/ca-trust/source/anchors/ mode=600 owner=root group=root
+- command: /usr/bin/update-ca-trust
+
- yum: state=present name=https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm
# http://docs.openstack.org/icehouse/install-guide/install/yum/content/nova-compute.html