24 lines
411 B
YAML
24 lines
411 B
YAML
---
|
|
# Create users for both desktop and server machines.
|
|
|
|
# Scheduler
|
|
- name: Create User Ansible
|
|
user:
|
|
name: ansible
|
|
comment: Ansible
|
|
system: yes
|
|
|
|
|
|
# Superuser
|
|
- name: Create User Hyperling
|
|
user:
|
|
name: ling
|
|
comment: Hyperling
|
|
groups:
|
|
- sudo
|
|
append: yes
|
|
shell: "{{ bash_exec.stdout }}"
|
|
create_home: yes
|
|
generate_ssh_key: yes
|
|
#password: "{{ ling_passwd }}"
|