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.