new files from source

This commit is contained in:
thesabear committed 2026-06-09 10:20:07 +03:00
commit 973546647d
132 files changed
+5335

No files matched your search

@@ -0,0 +1,29 @@
---
- name: Compliance stage
hosts: all
become: true
gather_facts: true
vars:
stage_name: compliance
vars_files:
- /path/to/Infrastrucutre as Code/ansible/roles_metadata.yml
tasks:
- name: Run roles for this stage
ansible.builtin.include_role:
name: "{{ item }}"
loop: >-
{{
vm_tags
| select('in',
roles_metadata
| dict2items
| selectattr('value.' ~ stage_name, 'defined')
| selectattr('value.' ~ stage_name)
| map(attribute='key')
| list
)
| list
}}