From 21bcada5422b6c2d6a0543061401d013ff0d7c87 Mon Sep 17 00:00:00 2001 From: alecsandru Date: Fri, 3 May 2024 12:45:08 +0000 Subject: [PATCH] Update 'create_deployment_user.yml' --- create_deployment_user.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/create_deployment_user.yml b/create_deployment_user.yml index 353090e..3d95147 100644 --- a/create_deployment_user.yml +++ b/create_deployment_user.yml @@ -16,6 +16,10 @@ generate_ssh_key: yes # Generate an SSH key pair for the user ssh_key_bits: 2048 ssh_key_file: .ssh/id_rsa + - name: Create sudoers file + copy: + dest: /etc/sudoers.d/ansible + content: "" - name: Add sudoers entry lineinfile: dest: /etc/sudoers.d/ansible