From 0ab49c3de618d80e18a55ca574d93267e6b0bc03 Mon Sep 17 00:00:00 2001 From: alecsandruchirosca Date: Thu, 2 May 2024 21:39:08 +0300 Subject: [PATCH] become --- create_deployment_user.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/create_deployment_user.yml b/create_deployment_user.yml index 75cd32f..be5a7ce 100644 --- a/create_deployment_user.yml +++ b/create_deployment_user.yml @@ -1,5 +1,8 @@ - name: Create required deployment users hosts: all + become: yes + become_method: sudo + become_user: root tasks: - name: Create Ansible user