Compare commits

..
2 Commits
Author SHA1 Message Date
mxmehl 8984d6368c improve SSH key comment 2026-03-19 14:49:26 +01:00
mxmehl 16a4f97564 run hash generation in check mode 2023-10-25 11:34:39 +02:00
+2
View File
@@ -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 }}"