Skip to content

Commit

Permalink
Add back list_merge in addition to recursive
Browse files Browse the repository at this point in the history
I removed it in a previous commit because I didn't knew we can use both
list_merge and recursive.
  • Loading branch information
laurent-indermuehle committed Feb 19, 2024
1 parent 2776254 commit f74b170
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion group_vars/dev/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ controller_organizations: "{{ controller_organizations_all + controller_organiza
controller_projects: "{{ controller_projects_all + controller_projects_dev }}"
controller_roles: "{{ controller_roles_all + controller_roles_dev }}"
controller_schedules: "{{ controller_schedules_all + controller_schedules_dev }}"
controller_settings: "{{ controller_settings_all | combine(controller_settings_dev, recursive=true) }}"
controller_settings: "{{ controller_settings_all | combine(controller_settings_dev, list_merge='append', recursive=true) }}"
controller_teams: "{{ controller_teams_all + controller_teams_dev }}"
controller_user_accounts: "{{ controller_user_accounts_all + controller_user_accounts_dev }}"
controller_workflows: "{{ controller_workflows_all + controller_workflows_dev }}"
Expand Down
2 changes: 1 addition & 1 deletion group_vars/prod/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ controller_organizations: "{{ controller_organizations_all + controller_organiza
controller_projects: "{{ controller_projects_all + controller_projects_prod }}"
controller_roles: "{{ controller_roles_all + controller_roles_prod }}"
controller_schedules: "{{ controller_schedules_all + controller_schedules_prod }}"
controller_settings: "{{ controller_settings_all | combine(controller_settings_prod, recursive=true) }}"
controller_settings: "{{ controller_settings_all | combine(controller_settings_prod, list_merge='append', recursive=true) }}"
controller_teams: "{{ controller_teams_all + controller_teams_prod }}"
controller_user_accounts: "{{ controller_user_accounts_all + controller_user_accounts_prod }}"
controller_workflows: "{{ controller_workflows_all + controller_workflows_prod }}"
Expand Down
2 changes: 1 addition & 1 deletion group_vars/test/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ controller_organizations: "{{ controller_organizations_all + controller_organiza
controller_projects: "{{ controller_projects_all + controller_projects_test }}"
controller_roles: "{{ controller_roles_all + controller_roles_test }}"
controller_schedules: "{{ controller_schedules_all + controller_schedules_test }}"
controller_settings: "{{ controller_settings_all | combine(controller_settings_test, recursive=true) }}"
controller_settings: "{{ controller_settings_all | combine(controller_settings_test, list_merge='append', recursive=true) }}"
controller_teams: "{{ controller_teams_all + controller_teams_test }}"
controller_user_accounts: "{{ controller_user_accounts_all + controller_user_accounts_test }}"
controller_workflows: "{{ controller_workflows_all + controller_workflows_test }}"
Expand Down

0 comments on commit f74b170

Please sign in to comment.