From 34c38789fe7ef39dcde59931e181b8496f15b3da Mon Sep 17 00:00:00 2001 From: alecsandruchirosca Date: Thu, 2 May 2024 21:31:19 +0300 Subject: [PATCH] sudo --- create_deployment_user.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/create_deployment_user.yml b/create_deployment_user.yml index 055075e..18da22b 100644 --- a/create_deployment_user.yml +++ b/create_deployment_user.yml @@ -5,6 +5,7 @@ tasks: - name: Create Ansible user become_user: root + sudo: yes user: name: ansible # Username groups: sudo