diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-01-13 17:06:57 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-01-13 17:06:57 +0100 |
commit | 01046c33e0bdcaf44dbd9bfcdf84f1a9a335437c (patch) | |
tree | 5d07281e5bc86e7f880cc7c5b5b912102135d5c2 | |
parent | 43b22a73c43d8975403994b5f085735e1d3786ba (diff) | |
download | openshift-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.
-rw-r--r-- | playbooks/byo/openshift-preflight/check.yml | 2 | ||||
-rw-r--r-- | roles/openshift_preflight/README.md | 3 | ||||
-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 |
4 files changed, 2 insertions, 3 deletions
diff --git a/playbooks/byo/openshift-preflight/check.yml b/playbooks/byo/openshift-preflight/check.yml index 94f53eb84..32673d01d 100644 --- a/playbooks/byo/openshift-preflight/check.yml +++ b/playbooks/byo/openshift-preflight/check.yml @@ -1,7 +1,7 @@ --- - hosts: OSEv3 roles: - - openshift_preflight/facts + - openshift_preflight/init - hosts: OSEv3 name: checks that apply to all hosts 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 |