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:
****************************************************
TASK [sklatt.bareos_client : Bareos-fd installieren / RedHat family]
***********
ok: [
sogo.cac.is-a-geek.com] => (item=[u'bareos-client])
NO MORE HOSTS LEFT
*************************************************************
to retry, use: --limit @/etc/ansible/#CaC/bareos_clients-CaC.retry
PLAY RECAP
*********************************************************************
sogo.cac.is-a-geek.com : ok=2 changed=1 unreachable=0 failed=1
****************************************************
If I enable the repository it work like a charm....
Regards
Stefan
--
*CaC, Computer and Communication*
Inhaber Stefan Klatt
End-2-End Senior Network Consultant
Triftstrasse 9
60528 Frankfurt
Germany
USt-IdNr.: DE260461592
Tel.:
+49-(0)172-6807809
Tel.:
+49-(0)69-67808-900
Fax:
+49-(0)69-67808-837
Email:
stefan...@cac-netzwerk.de
Profil:
http://www.cac-netzwerk.de/profil