summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-10-02 12:44:55 -0700
committerGitHub <noreply@github.com>2017-10-02 12:44:55 -0700
commit55617251e6abe5b205122b990c7ddb38bec87330 (patch)
tree062fdcb808a3954d5156832d84b2ff24b5b173b2 /playbooks/common/openshift-node
parent125c266f8f9149d773683a6e4b2fbacf2b557005 (diff)
parentd8d0e6d7de600d6896014fef928da5bf133dc85e (diff)
downloadopenshift-55617251e6abe5b205122b990c7ddb38bec87330.tar.gz
openshift-55617251e6abe5b205122b990c7ddb38bec87330.tar.bz2
openshift-55617251e6abe5b205122b990c7ddb38bec87330.tar.xz
openshift-55617251e6abe5b205122b990c7ddb38bec87330.zip
Merge pull request #5510 from abutcher/separate-certs
Automatic merge from submit-queue. Break out certificate playbooks Break out certificate role dependencies and move them into their own 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