update
This commit is contained in:
@@ -128,5 +128,9 @@
|
|||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: yes
|
enabled: yes
|
||||||
when: ansible_os_family == "RedHat"
|
|
||||||
|
|
||||||
|
- name: change password
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "administrator"
|
||||||
|
state: present
|
||||||
|
password: "{{ lookup('ansible.builtin.env', 'ADMIN_PASSWORD') | password_hash('sha512') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user