summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-12 17:07:04 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-12 17:07:04 +0100
commit22d60dcccf62abd52caf9233fdcf0835d6343681 (patch)
tree5d268e47c3a51eefe64515e231d144c59456356c /playbooks/adhoc
parent9041a816210132b1dad86217ecfef5f9fec4a8d2 (diff)
downloadopenshift-22d60dcccf62abd52caf9233fdcf0835d6343681.tar.gz
openshift-22d60dcccf62abd52caf9233fdcf0835d6343681.tar.bz2
openshift-22d60dcccf62abd52caf9233fdcf0835d6343681.tar.xz
openshift-22d60dcccf62abd52caf9233fdcf0835d6343681.zip
Move playbook to BYO
Because that's the main playbook directory in use.
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r--playbooks/adhoc/preflight/README.md43
-rw-r--r--playbooks/adhoc/preflight/check.yml32
2 files changed, 0 insertions, 75 deletions
diff --git a/playbooks/adhoc/preflight/README.md b/playbooks/adhoc/preflight/README.md
deleted file mode 100644
index 7636ecca3..000000000
--- a/playbooks/adhoc/preflight/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# Preflight checks
-
-Here we provide an Ansible playbook for detecting potential roadblocks prior to
-an install or upgrade.
-
-Ansible's default operation mode is to fail fast, on the first error. However,
-when performing checks, it is useful to gather as much information about
-problems as possible in a single run.
-
-The `check.yml` playbook runs a battery of checks against the inventory hosts
-and tells Ansible to ignore intermediate errors, thus giving a more complete
-diagnostic of the state of each host. Still, if any check failed, the playbook
-run will be marked as having failed.
-
-To facilitate understanding the problems that were encountered, we provide a
-custom callback plugin to summarize execution errors at the end of a playbook
-run.
-
----
-
-*Note that currently the `check.yml` playbook is only useful for RPM-based
-installations. Containerized installs are excluded from checks for now, but
-might be included in the future if there is demand for that.*
-
----
-
-## Running
-
-With an installation of Ansible 2.2 or greater, run the playbook directly
-against your inventory file. Here is the step-by-step:
-
-1. If you haven't done it yet, clone this repository:
-
- ```console
- $ git clone https://github.com/openshift/openshift-ansible
- $ cd openshift-ansible
- ```
-
-2. Run the playbook:
-
- ```console
- $ ansible-playbook -i <inventory file> playbooks/adhoc/preflight/check.yml
- ```
diff --git a/playbooks/adhoc/preflight/check.yml b/playbooks/adhoc/preflight/check.yml
deleted file mode 100644
index 460ba4ce4..000000000
--- a/playbooks/adhoc/preflight/check.yml
+++ /dev/null
@@ -1,32 +0,0 @@
----
-- hosts: OSEv3
- gather_facts: no
- roles:
- - openshift_preflight/facts
-
-- hosts: OSEv3
- name: checks that apply to all hosts
- gather_facts: no
- ignore_errors: yes
- roles:
- - openshift_preflight/common
-
-- hosts: masters
- name: checks that apply to masters
- gather_facts: no
- ignore_errors: yes
- roles:
- - openshift_preflight/masters
-
-- hosts: nodes
- name: checks that apply to nodes
- gather_facts: no
- ignore_errors: yes
- roles:
- - openshift_preflight/nodes
-
-- hosts: OSEv3
- name: verify check results
- gather_facts: no
- roles:
- - openshift_preflight/verify_status