geerlingguy / ansible-role-repo-epel

Ansible Role - EPEL Repository for RHEL/CentOS
https://galaxy.ansible.com/geerlingguy/repo-epel/
MIT License
186 stars 148 forks source link

The conditional check 'result.rc == 0' failed #30

Closed leonardodavinte closed 5 years ago

leonardodavinte commented 5 years ago

TASK [repo-epel : Install EPEL repo.] **** fatal: [192.168.0.50]: FAILED! => {"msg": "The conditional check 'result.rc == 0' failed. The error was: error while evaluating conditional (result.rc == 0): 'dict object' has no attribute 'rc'"}

ynixon commented 5 years ago

changing until: result.rc == 0 to until: : result is succeeded Should do the work

leonardodavinte commented 5 years ago

changing until: result.rc == 0 to until: : result is succeeded Should do the work

Thank you so much @ynixon

geerlingguy commented 5 years ago

PR merged, new tag is up, thanks!