patching-verification.yml -- trailing whitespace
This commit is contained in:
parent
f5ef18851c
commit
2e154389de
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
# patching.yml
|
# patching.yml
|
||||||
#
|
#
|
||||||
# Variables:
|
# Variables:
|
||||||
# - hosts: what hosts in the inventory to use
|
# - hosts: what hosts in the inventory to use
|
||||||
# - threads: how many to check in parallel
|
# - threads: how many to check in parallel
|
||||||
@ -8,12 +8,12 @@
|
|||||||
order: sorted
|
order: sorted
|
||||||
serial: "{{ threads | default('4') }}"
|
serial: "{{ threads | default('4') }}"
|
||||||
ignore_unreachable: true
|
ignore_unreachable: true
|
||||||
vars:
|
vars:
|
||||||
ansible_become: no
|
ansible_become: no
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Check updates
|
- name: Check updates
|
||||||
yum:
|
yum:
|
||||||
list=updates
|
list=updates
|
||||||
update_cache=true
|
update_cache=true
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
- name: Patching succeeded
|
- name: Patching succeeded
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- yumupdates.results|length == 0
|
- yumupdates.results|length == 0
|
||||||
- df_output.stdout is search("rhel-7-server-rpms-nist")
|
- df_output.stdout is search("rhel-7-server-rpms-nist")
|
||||||
|
Loading…
Reference in New Issue
Block a user