You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/setup_test_user/tasks/default.yml

15 lines
374 B
YAML

- name: set variables
set_fact:
test_user_name: ansibletest0
test_user_group: null
- name: set plaintext password
no_log: yes
set_fact:
test_user_plaintext_password: "{{ lookup('password', '/dev/null') }}"
- name: set hashed password
no_log: yes
set_fact:
test_user_hashed_password: "{{ test_user_plaintext_password | password_hash('sha512') }}"