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