From 4bc537131bc07d65a419c866ebaadfa6d8411eec Mon Sep 17 00:00:00 2001 From: swapnil Date: Fri, 25 Mar 2022 09:04:24 +0530 Subject: [PATCH] Execute only on localhost --- playbook/setup.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/playbook/setup.yml b/playbook/setup.yml index b0b8f12..403a08b 100644 --- a/playbook/setup.yml +++ b/playbook/setup.yml @@ -1,7 +1,6 @@ --- - name: Apply role-one to all nodes - hosts: all - remote_user: testuser + hosts: localhost roles: - role-one