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

I checked with zypper on the machine:

# zypper up openldap2
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following packages are going to be upgraded:
  libldap-2_4-2 openldap2 openldap2-client

The following packages are not supported by their vendor:
  libldap-2_4-2 openldap2 openldap2-client

3 packages to upgrade.
Overall download size: 1.5 MiB. After the operation, 1.6 MiB will be freed.
Continue? [y/n/? shows all options] (y): n


The new rpms are found. But zypper warns with "are not supported by their vendor".
I think this prevends ansible from automatically update the rpms.

I have a vendors file for obs created before

# cat "/etc/zypp/vendors.d/obs"
vendors = obs://build.opensuse.org

# zypper if openldap2
Loading repository data...
Reading installed packages...

Information for package openldap2:

Repository: Netzdienste Repo
Name: openldap2
Version: 2.4.40-0
Arch: x86_64
Vendor: obs://build.opensuse.org/home:MoserHans
Support Level: unknown
Installed: Yes
Status: out-of-date (version 2.4.39-0 installed)
Installed Size: 3.1 MiB
Summary: The OpenLDAP Server
Description:
The Lightweight Directory Access Protocol (LDAP) is used to access
online directory services. It runs directly over TCP and can be used to
access a stand-alone LDAP directory service or to access a directory
service that has an X.500 back-end.
:~ # rpm -qi openldap2
Name        : openldap2                    Relocations: (not relocatable)
Version : 2.4.39 Vendor: obs://build.opensuse.org/home:MoserHans Release : 0 Build Date: Tue 10 Jun 2014 03:44:28 PM CEST
Install Date: Mon 17 Nov 2014 03:27:19 PM CET      Build Host: buildhost-sp3
Group : Productivity/Networking/LDAP/Clients Source RPM: openldap2-2.4.39-0.src.rpm
Size        : 4936865                          License: OLDAP-2.8
Signature   : (none)
URL         : http://www.openldap.org
Summary     : The OpenLDAP Server
Description :
The Lightweight Directory Access Protocol (LDAP) is used to access
online directory services. It runs directly over TCP and can be used to
access a stand-alone LDAP directory service or to access a directory
service that has an X.500 back-end.
Distribution: home:MoserHans:branches:network:ldap / SLE_11_SP3

What am I missing, why doesn't ansible update?


[I tried to update to 1.8.2. But this seems to require python 2.7, and on my ansible machine I only have 2.6.8.]


Marc

--
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/54E1EB8E.9040206%40ofd-z.niedersachsen.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to