From 9782461b1b6fd8c0c11536b4043e42ec740ab0e8 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 22 Oct 2024 16:11:54 +0100 Subject: [PATCH] variable hosts and lint Signed-off-by: Mark Bolwell --- site.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site.yml b/site.yml index c56b473f..0333fb42 100644 --- a/site.yml +++ b/site.yml @@ -1,7 +1,8 @@ --- -- hosts: all # noqa: name[play] + +- name: Run RHEL8 STiG hardening + hosts: "{{ hosts | default('all') }}" become: true roles: - - role: "{{ playbook_dir }}"