c0dec0dec0de,
@c0dec0dec0de@hachyderm.io avatar

I hate working with Ansible and Jinja. Is there some set of filters that will take a list of dictionaries like this and work without making Ansible loop and do multiple transactions per host?

- ansible.builtin.package:  
 name: "{{ packages | ??? }}"  
 state: present  
 become: true  
 vars:  
 packages:  
- name:  
- gcc  
- gcc-c++  
 version: "13.2.1"  
- name:  
- libxml2  
- libxml2-devel  
 version: "2.10.4-3"  

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • magazineikmin
  • osvaldo12
  • GTA5RPClips
  • mdbf
  • Youngstown
  • tacticalgear
  • slotface
  • rosin
  • kavyap
  • ethstaker
  • everett
  • thenastyranch
  • DreamBathrooms
  • megavids
  • InstantRegret
  • cubers
  • normalnudes
  • Leos
  • ngwrru68w68
  • cisconetworking
  • modclub
  • Durango
  • provamag3
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines