blob: 83ee8f1e69d0d9efef135b93c71a36745cd163aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- 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') }}"
|