Hi,

Does it requires become_flags? Could you try commenting out that one.

On Mon, 10 Feb, 2020, 10:10 PM Poemy, <jonas.audena...@gmail.com> wrote:

> I followed your suggestions, thanks for that.
>
> I have now following task:
> - name: Install needed packages for Docker
>   yum:
>     name: yum-utils,device-mapper-persistent-data,lvm2
>     state: latest
>   become: yes
>   become_method: dzdo
>   become_flags: 'su -'
>
> When I run my playbook, it fails with following error message.
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/0857d7f6-7aa9-4c17-8064-5c4b2ca2e858%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/0857d7f6-7aa9-4c17-8064-5c4b2ca2e858%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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJWgDiaPsk5n3WqtF%2Bq0KEK3W1osYuEchtUK7-WRZRXcXye%2Bhg%40mail.gmail.com.

Reply via email to