Hi,
Below is my conf details
cat ansible.cfg
[defaults]
host_key_checking = False
remote_user = q5c9nf32
inventory = inventory
[privilege_escalation]
become = True
become_method = sudo
become_user = root
become_ask_pass = True
Thanks,
Deepan M
On Saturday, July 21, 2018 at 9:13:06 PM
To save the call to the external Python command to encrypt the password,
you can use the Jinja2 "password_hash" documented here:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#hashing-filters
So your example could look like this:
- name: changing root