From 2e154389dea47c5c39f31e7afde0e3f4db54f46c Mon Sep 17 00:00:00 2001 From: project2501 Date: Thu, 22 Aug 2024 10:39:18 -0500 Subject: [PATCH] patching-verification.yml -- trailing whitespace --- playbooks/patching-verification.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/patching-verification.yml b/playbooks/patching-verification.yml index 4959dbf..39e3c7f 100644 --- a/playbooks/patching-verification.yml +++ b/playbooks/patching-verification.yml @@ -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")