Anybody able to confirm this pretty please? I also tried: - name: Initial safe-upgrade of the system (from wheezy-backports) apt: upgrade=safe default_release=wheezy-backports update_cache=yes *state=latest*
No matter what I keep getting the "OK" (as if there's nothing to do), whereas the a manual *aptitude safe-upgrade -t wheezy-backports *gives me 17-ish upgradable packages. Thanks a ton. Ralph Am Mittwoch, 23. April 2014 11:37:55 UTC+2 schrieb Ralph: > > Hello everybody! > > Here's the thing! I add the Wheezy Backports repo to a newly provisioned > VPS and want to do a safe-upgrade before doing anything else. My > corresponding lines in the playbook look like this: > > - name: Add Wheezy Backports > apt_repository: repo='deb http://ftp.us.debian.org/debian wheezy-backports > main' state=present update_cache=yes > tags: > - init > > - name: Initial safe-upgrade of the system (from wheezy-backports) > apt: upgrade=safe default_release=wheezy-backports update_cache=yes > tags: > - init > > Originally run on Ansible 1.5.4. Same on 1.5.5. At this point python-apt, > apt-get and aptitude are installed. Playbook is run under root-user. > > From where I'm standing, this should translate to "aptitude safe-upgrade > -t wheezy-backports". But it doesn't seem to include the backports! Or I'm > missing something! Same goes for apt: upgrade yes, full, or dist. If I'm > ssh'ing to the box and running "aptitude safe-upgrade -t wheezy-backports" > I'm getting quite a few upgardable packages... > > Thanks in advance! > > Cheers > Ralph > -- 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/c9a2108c-4b40-4fcb-81ed-c59ff4d39f15%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
