Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
John2020-cyber committed Dec 31, 2024
1 parent 76ca029 commit bb6b879
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
loop_var: item

- name: Combine managed_cluster_names and managed_cluster_owners into a dictionary
set_fact:
ansible.builtin.set_fact:
managed_clusters: >-
{{
dict(managed_cluster_names | zip(managed_cluster_owners))
Expand All @@ -76,11 +76,11 @@
create_integration_for: "{{ managed_clusters_create | rejectattr('name', 'in', existing_integration_names) | list }}"

- name: Add 'name:' prefix to integration_names
set_fact:
ansible.builtin.set_fact:
integration_names: "{{ create_integration_for | map(attribute='name') | map('regex_replace', '^', 'name: ') | list }}"

- name: Filter common clusters for integration by name
set_fact:
ansible.builtin.set_fact:
common_clusters: >-
{{
managed_clusters
Expand Down

0 comments on commit bb6b879

Please sign in to comment.