Add managed user and aliases
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
- name: Create robert user
|
||||
user:
|
||||
name: robert
|
||||
groups: sudo
|
||||
append: yes
|
||||
shell: /bin/bash
|
||||
create_home: yes
|
||||
password: "{{ robert_password_hash }}"
|
||||
|
||||
- name: create ansible user
|
||||
user:
|
||||
name: ansible
|
||||
|
||||
Reference in New Issue
Block a user