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