From a546e41a8da9e4e1ff0dc3d80a40022d8c6a8657 Mon Sep 17 00:00:00 2001 From: Chad Cravens Date: Sun, 6 Oct 2024 15:28:19 -0400 Subject: [PATCH] Update to allow hosts to be configurable --- defaults/main.yml | 2 ++ site.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index ef4fc82d..09f9b34c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -6,6 +6,8 @@ benchmark_version: 'v1r13' # The audit variable found at the base benchmark: RHEL8-STIG +hosts: all + # Whether to skip the OS check for supported OS's skip_os_check: false diff --git a/site.yml b/site.yml index c56b473f..cec13c37 100644 --- a/site.yml +++ b/site.yml @@ -1,5 +1,5 @@ --- -- hosts: all # noqa: name[play] +- hosts: "{{ hosts }}" # noqa: name[play] become: true roles: