On Mon, 16 Feb 2015 14:07 +0100, Marc Patermann <[email protected]> wrote: > Hi, > > this is about ansible 1.6.1 on and with SLES machines. > > I build newer versions of openldap in the SuSE Build Service. > 2.4.39 is installed on the SLES 11 SP 3 machine. > > # rpm -qa | grep openldap > openldap2-2.4.39-0 > openldap2-client-2.4.39-0 > > I build 2.4.40 and copied the files to my http repo. > > Unfortunatly my ansible script does not update. > Code: > > tasks: > - name: install LDAP RPMs > zypper: name={{ item }} state=latest disable_gpg_check=yes > with_items: > - libdb-4_8 > - openldap2-client > - libldap-2_4-2 > - libldap-2_4-2-32bit > - openldap2
The zypper module already runs zypper with '--non-interactive' and other options to avoid prompts (quite puzzling there is no --yes option, from a yum user's perspective). Could you run `ansible-playbook -vvv your_playbook.xml` and share the results for that specific task? Giovanni -- 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/1424093278.1859923.228078189.4D2AD2D7%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.
