File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22cifmw_helpers_project_dir : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}"
33cifmw_helpers_ansible_collection_dir : " {{ ansible_user_dir }}/.ansible/collections/ansible_collections"
44cifmw_helpers_no_log : true
5+ cifmw_helpers_cacheable_facts : true
Original file line number Diff line number Diff line change 33 when : " 'content' in dir_item"
44 ansible.builtin.set_fact :
55 " {{ _file_content.key }} " : " {{ _file_content.value }}"
6- cacheable : true
6+ cacheable : " {{ cifmw_helpers_cacheable_facts }} "
77 loop : " {{ dir_item['content'] | b64decode | from_yaml | dict2items }}"
88 loop_control :
99 loop_var : _file_content
Original file line number Diff line number Diff line change 2323 when : " 'content' in _parsed_vars"
2424 ansible.builtin.set_fact :
2525 " {{ file_item.key }} " : " {{ file_item.value }}"
26- cacheable : true
26+ cacheable : " {{ cifmw_helpers_cacheable_facts }} "
2727 loop : " {{ _parsed_vars['content'] | b64decode | from_yaml | dict2items }}"
2828 no_log : " {{ cifmw_helpers_no_log }}"
2929 loop_control :
Original file line number Diff line number Diff line change 1111- name : Filter just dict and set as fact
1212 ansible.builtin.set_fact :
1313 " {{ various_item.key }} " : " {{ various_item.value }}"
14- cacheable : true
14+ cacheable : " {{ cifmw_helpers_cacheable_facts }} "
1515 loop : " {{ (various_vars | select('mapping') | list) | map('dict2items') | flatten }}"
1616 loop_control :
1717 loop_var : various_item
You can’t perform that action at this time.
0 commit comments