Hi all,

ansible complian about these


- name: allow group wheel to run sudo with password
  shell: "perl -i.bak -pe 's|^# 
\%wheel[\s\\t]+ALL\=\(ALL\)[\s\\t]+NOPASSWD|\%wheel        ALL\=(ALL\)     
  NOPASSWD|g' /etc/sudoers creates=/etc/sudoers.bak"

yaml lint syntax check go green :-)

ansible says:

ERROR: Syntax Error while loading YAML script, 
/etc/ansible/localhost/roles/base/tasks/05-usersetup.yml
Note: The error may actually appear before this position: line 11, column 34

- name: allow group wheel to run sudo with password
  shell: "perl -i.bak -pe 's|^# 
\%wheel[\s\\t]+ALL\=\(ALL\)[\s\\t]+NOPASSWD|\%wheel        ALL\=(ALL\)     
  NOPASSWD|g' /etc/sudoers creates=/etc/sudoers.bak"

I think it mis understand some characters there but not sure what.  Any 
idea?


Kind regards

-- 
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/525dc053-6c6e-4b21-b08d-98d1c898af26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to