mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(ansible): add sources and dictionary task
This commit is contained in:
@@ -99,6 +99,10 @@
|
||||
- something else
|
||||
set_fact:
|
||||
first_non_null_value: "{{ list_with_null_values | select | first }}"
|
||||
- name: Get values for a specific attribute in a list of dictionaries
|
||||
set_fact:
|
||||
vpc_security_group_ids: >-
|
||||
{{ instance_information.vpc_security_groups | map(attribute='vpc_security_group_id') }}
|
||||
|
||||
- name: Manipulate dictionaries
|
||||
block:
|
||||
|
||||
Reference in New Issue
Block a user