I would assume that you could run with -vvv and it will show you the stdout/stderr that indicates the failure in execution.
On Tue, 11 Feb, 2020, 12:55 PM Vishal Bobade, <[email protected]> wrote: > Hi, > > Seems related to the particular module you are trying to use here. > > Could you try performing this manually by ansible i.e. not by using > playbook with debug mode enabled and see what error u see. > > > On Tue, 11 Feb, 2020, 12:16 AM Poemy, <[email protected]> wrote: > >> As requested I commented out the *become_flags*, which gives me the >> following task: >> >> - name: Install needed packages for Docker >> yum: >> name: yum-utils,device-mapper-persistent-data,lvm2 >> state: latest >> become: yes >> become_method: dzdo >> >> And this gives as result the same error >> >> fatal: [10.7.201.114]: FAILED! => {"changed": false, "module_stderr": "", >> "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the >> exact error", "rc": 1} >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/f1b2b89c-11dc-4470-be3f-6c470136824f%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/f1b2b89c-11dc-4470-be3f-6c470136824f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJWgDiaUR6PTV8t0chsRJo52evZKB7mcUW7-nyDOsfPHNj-mwg%40mail.gmail.com.
