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 # =========================================================================== #