devops

Advanced list operations in Ansible

- "selectattr" filter in Ansible is useful for filtering lists based on attributes of the objects in the list - \yaml\ selectattr'name', 'match', 'eth\2-9\' \/yaml\ - Ansible's "sum" filter can be used for reducing lists…

Continue Reading