Compare commits
2
Commits
7f0f540ca3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8984d6368c
|
||
|
|
16a4f97564
|
@@ -49,6 +49,7 @@
|
||||
ansible.builtin.command: openssl passwd -6 -salt "{{ salt }}" "{{ password }}"
|
||||
register: username_shadowpw
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
|
||||
- name: Set password value fact for user {{ username }}
|
||||
ansible.builtin.set_fact:
|
||||
@@ -62,6 +63,7 @@
|
||||
# SSH
|
||||
generate_ssh_key: "{{ generate_ssh_key }}"
|
||||
ssh_key_type: "{{ ssh_key_type }}"
|
||||
ssh_key_comment: "{{ username }}@{{ ansible_fqdn }}"
|
||||
# Groups
|
||||
groups: "{{ user_groups }}"
|
||||
append: "{{ groups_append }}"
|
||||
|
||||
Reference in New Issue
Block a user