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: [email protected]
Profil: http://www.cac-netzwerk.de/profil

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0a36b5eb-6258-7a9b-4885-3168e865ad3f%40cac-netzwerk.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to