Re: [ansible-project] Need for aptitude to perform apt upgrades?

2015-06-27 Thread Phyks
There is no strict alternative in apt. The closest would be `apt-get upgrade` which does not install or remove dependencies. See https://askubuntu.com/questions/117088/aptitude-safe-upgrade-equivalence-with-apt-get. But there is also this bug which may be annoying https://bugs.debian.org/cgi-bin/b

[ansible-project] Re: iterating over data

2015-06-27 Thread Hagai Kariti
You can write a small filter plugin that gives you the items of dicts (something that simply returns an `item.values()` or something like that). Then you could do: vars: # Will create a list of inner dict values inside a list of parent dict's values - firmware_items: "{{ firmware.values(