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 /roles/openshift_preflight/init | |
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.
Diffstat (limited to 'roles/openshift_preflight/init')
-rw-r--r-- | roles/openshift_preflight/init/meta/main.yml | 3 | ||||
-rw-r--r-- | roles/openshift_preflight/init/tasks/main.yml | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_preflight/init/meta/main.yml b/roles/openshift_preflight/init/meta/main.yml new file mode 100644 index 000000000..0bbeadd34 --- /dev/null +++ b/roles/openshift_preflight/init/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: openshift_facts diff --git a/roles/openshift_preflight/init/tasks/main.yml b/roles/openshift_preflight/init/tasks/main.yml new file mode 100644 index 000000000..bf2d82196 --- /dev/null +++ b/roles/openshift_preflight/init/tasks/main.yml @@ -0,0 +1,4 @@ +--- +- name: set common variables + set_fact: + oo_preflight_check_results: "{{ oo_preflight_check_results | default([]) }}" |