Hi,

I'm having weird problems where sudo authentication seems to fail in the 
middle of a playbook.

The playbook is run like this:

ansible-playbook ... -b --ask-become-pass ... myplaybook.yml

The playbook includes this bit that I'm using to reproduce an actual 
problem:

- name: test123
  command: touch /tmp/test/{{item.key}}
  with_dict: "{{users | combine(ext_users | default({})) }}"

When I run the playbook I get this error:

TASK [playbook1 : test123] ***********************************************
fatal: [foo.bar.baz]: FAILED! => {"failed": true, "msg": "ERROR! Incorrect 
sudo password"}

The strange part is that only some of the expected files get created (and 
owned by root), but the task appears to fail in the middle of iterating 
dictionary keys.
Since some files get created I assume 1) sudo password is correctly entered 
and 2) the task is run as root.

Any ideas why this happens?

marko

-- 
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/d7165695-378a-4dbf-bc47-9326cb05f097%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to