summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-13 17:06:57 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-13 17:06:57 +0100
commit01046c33e0bdcaf44dbd9bfcdf84f1a9a335437c (patch)
tree5d07281e5bc86e7f880cc7c5b5b912102135d5c2 /roles
parent43b22a73c43d8975403994b5f085735e1d3786ba (diff)
downloadopenshift-01046c33e0bdcaf44dbd9bfcdf84f1a9a335437c.tar.gz
openshift-01046c33e0bdcaf44dbd9bfcdf84f1a9a335437c.tar.bz2
openshift-01046c33e0bdcaf44dbd9bfcdf84f1a9a335437c.tar.xz
openshift-01046c33e0bdcaf44dbd9bfcdf84f1a9a335437c.zip
Rename subrole facts -> init
Trying to improve the name, `init` needs to be loaded before calling other subroles. We don't make `init` a dependency of `common`, `masters` and `nodes` to avoid running the relatively slow `openshift_facts` multiple times.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_preflight/README.md3
-rw-r--r--roles/openshift_preflight/init/meta/main.yml (renamed from roles/openshift_preflight/facts/meta/main.yml)0
-rw-r--r--roles/openshift_preflight/init/tasks/main.yml (renamed from roles/openshift_preflight/facts/tasks/main.yml)0
3 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_preflight/README.md b/roles/openshift_preflight/README.md
index a3d734e32..b6d3542d3 100644
--- a/roles/openshift_preflight/README.md
+++ b/roles/openshift_preflight/README.md
@@ -24,9 +24,8 @@ Example Playbook
```yaml
---
- hosts: OSEv3
- gather_facts: no
roles:
- - openshift_preflight/facts
+ - openshift_preflight/init
- hosts: OSEv3
name: checks that apply to all hosts
diff --git a/roles/openshift_preflight/facts/meta/main.yml b/roles/openshift_preflight/init/meta/main.yml
index 0bbeadd34..0bbeadd34 100644
--- a/roles/openshift_preflight/facts/meta/main.yml
+++ b/roles/openshift_preflight/init/meta/main.yml
diff --git a/roles/openshift_preflight/facts/tasks/main.yml b/roles/openshift_preflight/init/tasks/main.yml
index bf2d82196..bf2d82196 100644
--- a/roles/openshift_preflight/facts/tasks/main.yml
+++ b/roles/openshift_preflight/init/tasks/main.yml