summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-10-07 09:55:13 -0700
committerTim Bielawa <tbielawa@redhat.com>2016-10-20 07:49:40 -0700
commita22e8daf1f7c93469023239f442f19608ffbc970 (patch)
tree0fa7c6e91d471c0833d58ab95baa6dec7ee657f2 /playbooks/byo/openshift-cluster
parent4273b21105dd11f52de354b4777d33e4296ba7e0 (diff)
downloadopenshift-a22e8daf1f7c93469023239f442f19608ffbc970.tar.gz
openshift-a22e8daf1f7c93469023239f442f19608ffbc970.tar.bz2
openshift-a22e8daf1f7c93469023239f442f19608ffbc970.tar.xz
openshift-a22e8daf1f7c93469023239f442f19608ffbc970.zip
Refactor into a role
Diffstat (limited to 'playbooks/byo/openshift-cluster')
-rw-r--r--playbooks/byo/openshift-cluster/check-cert-expiry.yaml35
1 files changed, 0 insertions, 35 deletions
diff --git a/playbooks/byo/openshift-cluster/check-cert-expiry.yaml b/playbooks/byo/openshift-cluster/check-cert-expiry.yaml
deleted file mode 100644
index 39efdbd36..000000000
--- a/playbooks/byo/openshift-cluster/check-cert-expiry.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
----
-# check-cert-expiry.yaml - A utility for cluster ops to scan through
-# (critical) certificates for the ongoing operations of a cluster.
-
-# We do not support all Ansible versions. This is our safety net.
-- include: ../../common/openshift-cluster/verify_ansible_version.yml
-
-- name: Generate the l_oo_all_hosts group
- hosts: localhost
- connection: local
- become: no
- gather_facts: no
- tasks:
- - include_vars: cluster_hosts.yml
- - add_host:
- name: "{{ item }}"
- groups: l_oo_all_hosts
- with_items: "{{ g_all_hosts | default([]) }}"
-
-# This may seem redundant, running `include_vars` again on the list of
-# hosts in the group 'l_oo_all_hosts' which we just created. But the
-# fact of the matter is that if we don't re-run include_vars on the
-# new host group we created, then they will not have access to those
-# same group variables they were birthed from.
-#
-# Go ahead and try to 'debug: var=g_all_hosts' later on (without this
-# play) and you'll find that the result is UNDEFINED VARIABLE.
-- name: Inject cluster hosts variables into l_oo_all_hosts
- hosts: l_oo_all_hosts
- gather_facts: no
- tasks:
- - include_vars: cluster_hosts.yml
-
-# This is where the actual business gets started:
-- include: ../../common/openshift-cluster/check-cert-expiry.yaml