Merge "Ensure os-net-config conditional for upgrade doesn’t fail."

This commit is contained in:
Zuul 2017-11-27 15:25:08 +00:00 committed by Gerrit Code Review
commit b37b75790e
1 changed files with 1 additions and 2 deletions

View File

@ -54,9 +54,8 @@ outputs:
when: rpm_python_check.changed != false
tags: step0
- name: Check for os-net-config upgrade
shell: yum check-upgrade | grep os-net-config
shell: "yum check-upgrade | awk '/os-net-config/{print}'"
register: os_net_config_need_upgrade
ignore_errors: True
tags: step3
- name: Check that os-net-config has configuration
shell: test -s /etc/os-net-config/config.json