May be because you have a space immediately after “become”
become : yes
^
Regards
Phil
From: [email protected] <[email protected]> On
Behalf Of [email protected]
Sent: 25 July 2019 14:31
To: Ansible Project <[email protected]>
Subject: [ansible-project] Unable to create the user (Weblogic) in the ansible
nodes
Here is the script :
- name: This play is about creating the user in all nodes and entering passwords
hosts: all
vars_prompt:
name: passwd
prompt: Enter your password
become : yes
tasks:
- user: name="weblogic" password= "{{passwd}}"
- debug: msg="The entered value is {{passwd}}"
and getting below error , not sure why, please help me.
getting errorn13 permission denied.
Pease note that ansadmin is part of the visudo file.
--
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]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7e21355d-3034-4b06-8b8b-c14511217f07%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/7e21355d-3034-4b06-8b8b-c14511217f07%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/94213220e0fe43ababcb2bcd4f464d2a%40bham.ac.uk.