From 03f2b4a983bbfa774b140604b0a30c8e93faa432 Mon Sep 17 00:00:00 2001 From: Niall Byrne <9848926+niall-byrne@users.noreply.github.com> Date: Sun, 9 Jul 2023 12:38:45 -0400 Subject: [PATCH] test(CLAMAV): use gather facts --- roles/clamav/molecule/clamwatch/verify.yml | 1 - roles/clamav/molecule/common/tasks/verify_binaries.yml | 4 ---- roles/clamav/molecule/common/tasks/verify_processes.yml | 4 ---- roles/clamav/molecule/no_clamwatch/verify.yml | 1 - 4 files changed, 10 deletions(-) diff --git a/roles/clamav/molecule/clamwatch/verify.yml b/roles/clamav/molecule/clamwatch/verify.yml index 7bcda0d..3d893a7 100644 --- a/roles/clamav/molecule/clamwatch/verify.yml +++ b/roles/clamav/molecule/clamwatch/verify.yml @@ -1,7 +1,6 @@ --- - name: Verify hosts: all - gather_facts: false tasks: - name: Display Logs For Troubleshooting Failures diff --git a/roles/clamav/molecule/common/tasks/verify_binaries.yml b/roles/clamav/molecule/common/tasks/verify_binaries.yml index bbdd44c..2affcf7 100644 --- a/roles/clamav/molecule/common/tasks/verify_binaries.yml +++ b/roles/clamav/molecule/common/tasks/verify_binaries.yml @@ -1,8 +1,4 @@ --- -- name: Set CI Machine Type - ansible.builtin.set_fact: - ansible_machine: "{{ lookup('env', 'PLATFORM') }}" - - name: Load Default Var Content ansible.builtin.include_vars: "../../../defaults/main.yml" diff --git a/roles/clamav/molecule/common/tasks/verify_processes.yml b/roles/clamav/molecule/common/tasks/verify_processes.yml index 00db329..3d2a554 100644 --- a/roles/clamav/molecule/common/tasks/verify_processes.yml +++ b/roles/clamav/molecule/common/tasks/verify_processes.yml @@ -1,8 +1,4 @@ --- -- name: Set CI Machine Type - ansible.builtin.set_fact: - ansible_machine: "{{ lookup('env', 'PLATFORM') }}" - - name: Load Default Var Content ansible.builtin.include_vars: "../../../defaults/main.yml" diff --git a/roles/clamav/molecule/no_clamwatch/verify.yml b/roles/clamav/molecule/no_clamwatch/verify.yml index 0091e65..1431b57 100644 --- a/roles/clamav/molecule/no_clamwatch/verify.yml +++ b/roles/clamav/molecule/no_clamwatch/verify.yml @@ -1,7 +1,6 @@ --- - name: Verify hosts: all - gather_facts: false tasks: - name: Display Logs For Troubleshooting Failures