Fix ansible-lint errors

This commit is contained in:
Tobias Reisinger 2025-06-24 19:10:07 +02:00
parent 503bd8b396
commit b098704e23
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
10 changed files with 21 additions and 26 deletions

View file

@ -3,12 +3,12 @@
hosts: all
become: true
tasks:
- name: Get new password
ansible.builtin.pause:
prompt: Enter the new password
echo: false
register: new_user_password
- name: Change password
ansible.builtin.user:
name: "{{ interactive_user }}"
password: "{{ new_user_password.user_input | password_hash('sha512') }}"
- name: Get new password
ansible.builtin.pause:
prompt: Enter the new password
echo: false
register: new_user_password
- name: Change password
ansible.builtin.user:
name: "{{ interactive_user }}"
password: "{{ new_user_password.user_input | password_hash('sha512') }}"