From 57b16e1a921b041ac008bb4931f6c1457c6c89d0 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Tue, 3 May 2022 12:19:13 -0400 Subject: [PATCH] more fixes --- file-creation-single.yml | 3 ++- file-removal-test.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/file-creation-single.yml b/file-creation-single.yml index e33ef33..d3a6b68 100644 --- a/file-creation-single.yml +++ b/file-creation-single.yml @@ -1,6 +1,6 @@ --- - name: Create inventory based on passed extra_vars - hosts: localhost + hosts: all gather_facts: no become: no @@ -19,6 +19,7 @@ name: "{{ provision_host }}" groups: - remdiation + delegate_to: localhost # =========================================================================== # diff --git a/file-removal-test.yml b/file-removal-test.yml index 3fa1046..c35655a 100644 --- a/file-removal-test.yml +++ b/file-removal-test.yml @@ -1,6 +1,6 @@ --- - name: Create inventory based on passed extra_vars - hosts: localhost + hosts: all gather_facts: no become: no @@ -19,6 +19,7 @@ name: "{{ provision_host }}" groups: - remdiation + delegate_to: localhost # =========================================================================== #