HOW TO SET PASSWORD WITH ANSIBLE
---
- name: Set
Password
hosts: test1 test2 test2
become: yes
ignore_errors: yes
tasks:
- name: Change root password
user:
name: root
password:
$dff2878927319283198439843hjsddhdkjch823787431213413dwfwfvwgwwq.
update_password: always
(In password: Encrypted Password )
Comments