Hi,
I use ansible 2.1.1 and have a problem with "yum install" if the used
repository is disabled.
Here the task:
- name: Bareos-fd installieren / RedHat family
yum: name={{item}} state=latest
with_items:
- bareos-client
With disabled repository I get the following response:
Sounds like it’s doing the correct thing.
Perhaps add the “enablerepo” option to your playbook ?
http://docs.ansible.com/ansible/yum_module.html
Hi Vince,
why? Without enabled repository you get normal the info there is nothing
to update. Here the same, there is a "OK", not an error... but ansible
stops the playbook.
Regards
Stefan