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?