diff options
| author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-01-12 18:30:24 +0100 |
|---|---|---|
| committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-01-12 18:30:24 +0100 |
| commit | c4aec0fbd112fd1c8503e935ac954da268a2fdff (patch) | |
| tree | 685ee12de8fa71f89813484e42181344f6728512 /roles/openshift_preflight/nodes | |
| parent | 3c6b9fe8641c067f2f010d637b69e4e84b94017b (diff) | |
Replace custom variables with openshift_facts
Note: on a simple example run of ansible-playbook against a single
docker-based host, I saw the execution time jump from 7s to 17s. That's
unfortunate, but it is probably better to reuse openshift_facts, than to
come up with new variables.
Diffstat (limited to 'roles/openshift_preflight/nodes')
| -rw-r--r-- | roles/openshift_preflight/nodes/tasks/main.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_preflight/nodes/tasks/main.yml b/roles/openshift_preflight/nodes/tasks/main.yml index 16c7212d4..c98b02bf5 100644 --- a/roles/openshift_preflight/nodes/tasks/main.yml +++ b/roles/openshift_preflight/nodes/tasks/main.yml @@ -1,7 +1,6 @@ --- # determine if yum install of node pkgs will work -- when: - - not containerized +- when: not openshift.common.is_containerized | bool block: - name: main packages for enterprise |
