Executing a local_action, and i expect it to execute as the user running
the playbook, however it attempts to sudo....
- hosts: all
gather_facts: False
become: false
sudo: false
name: Generating bug report
tasks:
- local_action: template src=templates/bug_report.j2
dest=./bug_report.log owner=jtaleric group=jtaleric
sudo: false
Error:
TASK: [template src=templates/bug_report.j2 dest=./bug_report.log
owner=jtaleric group=jtaleric] ***
failed: [overcloud-controller-0 -> 127.0.0.1] => {"failed": true, "parsed":
false}
[sudo via ansible, key=jrpmqdghzaqcxctggogqzeqwlackuxoy] password:
failed: [lorenzo.perf.lab.eng.rdu.redhat.com -> 127.0.0.1] => {"failed":
true, "parsed": false}
[sudo via ansible, key=iwyxhshbicbckjvtxnfmlgpduzzserun] password:
failed: [overcloud-controller-1 -> 127.0.0.1] => {"failed": true, "parsed":
false}
[sudo via ansible, key=ouyroitfajmptfpdcetwqjqeuggtkazi] password:
failed: [overcloud-novacompute-1 -> 127.0.0.1] => {"failed": true,
"parsed": false}
[sudo via ansible, key=dnobuxrlxocbicinbadxiclumyldpvfp] password:
failed: [overcloud-novacompute-0 -> 127.0.0.1] => {"failed": true,
"parsed": false}
[sudo via ansible, key=zuihnfjzyuvjulfqovgeuihkiixkvpfi] password:
failed: [overcloud-controller-2 -> 127.0.0.1] => {"failed": true, "parsed":
false}
[sudo via ansible, key=qpsiaqkjjbpxmssbnopfreokldbfooyn] password:
Any thoughts?
--
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/94ec04be-e412-4648-87f4-1e8129a9a6a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.