patching-verification.yml -- trailing whitespace

This commit is contained in:
project2501 2024-08-22 10:39:18 -05:00
parent f5ef18851c
commit 2e154389de

View File

@ -1,6 +1,6 @@
---
# patching.yml
#
#
# Variables:
# - hosts: what hosts in the inventory to use
# - threads: how many to check in parallel
@ -8,12 +8,12 @@
order: sorted
serial: "{{ threads | default('4') }}"
ignore_unreachable: true
vars:
vars:
ansible_become: no
tasks:
- name: Check updates
yum:
yum:
list=updates
update_cache=true
ignore_errors: true
@ -21,7 +21,7 @@
- name: Patching succeeded
ignore_errors: true
assert:
that:
assert:
that:
- yumupdates.results|length == 0
- df_output.stdout is search("rhel-7-server-rpms-nist")