From 3c7eee794893263c7404713bf76c716f19ccf1e9 Mon Sep 17 00:00:00 2001 From: alecsandruchirosca Date: Thu, 2 May 2024 21:28:13 +0300 Subject: [PATCH] become user? --- create_deployment_user.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/create_deployment_user.yml b/create_deployment_user.yml index 21d873c..055075e 100644 --- a/create_deployment_user.yml +++ b/create_deployment_user.yml @@ -4,6 +4,7 @@ tasks: - name: Create Ansible user + become_user: root user: name: ansible # Username groups: sudo