On 27.03.2019 23:52, John Harmon wrote:
> If I try something similar with apt, it always fails to install the
> packages (usually says it can't find krb5-user).
>
> Failing:
> packages: "dbus, krb5-user, sssd, oddjob, samba-common, samba, chrony,
> libpam-sss, libnss-sss, libnss-ldap"
>
> - name: ldap_users - Install required packages (Debian-based)
> apt:
> name: "{{ packages }}"
> update_cache: yes
> state: present
> changed_when: false
> ignore_errors: yes
> when: ansible_os_family == "Debian"
>
>
> However, if I change my variable to the following for Ubuntu, it works fine:
> packages:
> - dbus
> - krb5-user
> - sssd
> - oddjob
> - samba-common
> - samba
> - chrony
> - libpam-sss
> - libnss-sss
> - libnss-ldap
>
> Just wondering if someone can explain that to me?
Yum module support comma separated list apt module don't, reason is that no one
has implemented it.
Both of them support list so just use that.
--
Kai Stian Olstad
--
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/d492b725-6444-03db-c83f-8652073ec47b%40olstad.com.
For more options, visit https://groups.google.com/d/optout.