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 UTC+5:30, Jean-Yves LENHOF wrote:
>
> Hi,
>
> Are become & become_user setted ?
>
> Reagrds,
>
>
> JYL
>
> Le 21/07/2018 à 16:26, Deepan M a écrit :
>
>
> Can you someone please read below error and suggest what needs to be done!
>
> *Error:-*
>
> fatal: [usa7061lv1771]: FAILED! => {"changed": false, "cmd":
> "/usr/sbin/usermod -p VALUE_SPECIFIED_IN_NO_LOG_PARAMETER root", "msg":
> "[Errno 13] Permission denied", "rc": 13}
>
>
>
>
> *Playbook:- *cat change-root-password1.yml
> - hosts: xerox
> tasks:
> - name: Change root password
> user: name=root update_password=always
> password=$6$4ylWRRN/$5X51fvVvOxzkyI2yfzdQT.c/R9tVDGqaByrABrv7VOzU2KXUClTvOfubzPFSzOnNJlcoftsUwSe1bF45iANJ01
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/fe78f66d-f9b2-46f4-b934-3ce1908705ec%40googlegroups.com
>
> <https://groups.google.com/d/msgid/ansible-project/fe78f66d-f9b2-46f4-b934-3ce1908705ec%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1d1b2afa-3d4d-4700-8bcd-af76edb8e8bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.