@ -1,11 +1,8 @@
- name: Create required deployment users
hosts: all
become: yes # Run tasks with root/sudo privileges
tasks:
- name: Create Ansible user
become: yes
sudo: yes
user:
name: ansible # Username
groups: sudo