summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-09-06 10:21:50 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-10-02 10:05:44 -0400
commitd8d0e6d7de600d6896014fef928da5bf133dc85e (patch)
tree1b8b802ad1629b5cf23f3e3656d0ee1d7ef76d01 /playbooks/common/openshift-node
parent54ea443f4ad24ad311c0a036cf283f9e39c865ee (diff)
downloadopenshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.tar.gz
openshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.tar.bz2
openshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.tar.xz
openshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.zip
Separate certificate playbooks.
Diffstat (limited to 'playbooks/common/openshift-node')
-rw-r--r--playbooks/common/openshift-node/certificates.yml8
-rw-r--r--playbooks/common/openshift-node/configure_nodes.yml1
2 files changed, 8 insertions, 1 deletions
diff --git a/playbooks/common/openshift-node/certificates.yml b/playbooks/common/openshift-node/certificates.yml
new file mode 100644
index 000000000..908885ee6
--- /dev/null
+++ b/playbooks/common/openshift-node/certificates.yml
@@ -0,0 +1,8 @@
+---
+- name: Create OpenShift certificates for node hosts
+ hosts: oo_nodes_to_config
+ gather_facts: no
+ roles:
+ - role: openshift_node_certificates
+ openshift_ca_host: "{{ groups.oo_first_master.0 }}"
+ when: not openshift_node_bootstrap | default(false) | bool
diff --git a/playbooks/common/openshift-node/configure_nodes.yml b/playbooks/common/openshift-node/configure_nodes.yml
index 072986d09..c96e4921c 100644
--- a/playbooks/common/openshift-node/configure_nodes.yml
+++ b/playbooks/common/openshift-node/configure_nodes.yml
@@ -13,5 +13,4 @@
roles:
- role: os_firewall
- role: openshift_node
- openshift_ca_host: "{{ groups.oo_first_master.0 }}"
- role: nickhammond.logrotate