Correct ignore_error -> ignore_errors

In  Ic905f7ed7e7fc9018bc494f77811392045fddfe8, the
addition of logic to confirm os-net-config needs to be run relies
upon the shell command being able to fail.  This patch corrects
the Ansible directive "ignore_errors" to be properly stated.

Change-Id: Ie0efdce47dc11f05c436fbacaca6ec22cbe33ca1
Closes-Bug: #1730328
This commit is contained in:
Mike Bayer 2017-11-20 13:08:17 -05:00
parent 38d0525a5e
commit 0a001b6672
1 changed files with 2 additions and 2 deletions

View File

@ -56,12 +56,12 @@ outputs:
- name: Check for os-net-config upgrade
shell: yum check-upgrade | grep os-net-config
register: os_net_config_need_upgrade
ignore_error: True
ignore_errors: True
tags: step3
- name: Check that os-net-config has configuration
shell: test -s /etc/os-net-config/config.json
register: os_net_config_has_config
ignore_error: True
ignore_errors: True
tags: step3
- block:
- name: Upgrade os-net-config