mirror of https://github.com/ansible/ansible.git
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.
15 lines
349 B
YAML
15 lines
349 B
YAML
2 years ago
|
- name: set variables
|
||
|
set_fact:
|
||
|
test_user_name: ansibletest0
|
||
|
test_user_group: staff
|
||
|
|
||
|
- 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 }}"
|