summaryrefslogtreecommitdiffstats
path: root/playbooks/init
diff options
context:
space:
mode:
authorVadim Rutkovsky <vrutkovs@redhat.com>2018-02-02 10:56:43 +0100
committerVadim Rutkovsky <vrutkovs@redhat.com>2018-02-02 10:56:43 +0100
commit72025672bcda5a608aeda30ec416c2c43922cb34 (patch)
treef6894de31a15a13930dd2c0b6c5dd3ae29e919db /playbooks/init
parent55b91ccaa38d759829327589fbaa27ad12d7fd26 (diff)
downloadopenshift-72025672bcda5a608aeda30ec416c2c43922cb34.tar.gz
openshift-72025672bcda5a608aeda30ec416c2c43922cb34.tar.bz2
openshift-72025672bcda5a608aeda30ec416c2c43922cb34.tar.xz
openshift-72025672bcda5a608aeda30ec416c2c43922cb34.zip
Don't use 'omit' for package module
'name' param is required and can't be skipped. 'when' is used instead
Diffstat (limited to 'playbooks/init')
-rw-r--r--playbooks/init/base_packages.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/init/base_packages.yml b/playbooks/init/base_packages.yml
index 0a730a88a..81f4dd183 100644
--- a/playbooks/init/base_packages.yml
+++ b/playbooks/init/base_packages.yml
@@ -16,8 +16,9 @@
- iproute
- "{{ 'python3-dbus' if ansible_distribution == 'Fedora' else 'dbus-python' }}"
- "{{ 'python3-PyYAML' if ansible_distribution == 'Fedora' else 'PyYAML' }}"
- - "{{ 'python-ipaddress' if ansible_distribution != 'Fedora' else omit }}"
+ - "{{ 'python-ipaddress' if ansible_distribution != 'Fedora' else '' }}"
- yum-utils
+ when: item != ''
register: result
until: result is succeeded