Merge list in right order
This commit is contained in:
parent
5524a3de3f
commit
c56a453e56
1 changed files with 7 additions and 7 deletions
12
playbook.yml
12
playbook.yml
|
@ -9,20 +9,20 @@
|
|||
|
||||
- name: Merge Sway output variable
|
||||
ansible.builtin.set_fact:
|
||||
sway_outputs: '{{ local_sway_outputs |
|
||||
community.general.lists_mergeby(sway_outputs, "id") }}'
|
||||
sway_outputs: '{{ sway_outputs |
|
||||
community.general.lists_mergeby(local_sway_outputs, "id") }}'
|
||||
when: local_sway_outputs is defined
|
||||
|
||||
- name: Merge Sway input variable
|
||||
ansible.builtin.set_fact:
|
||||
sway_inputs: '{{ local_sway_inputs |
|
||||
community.general.lists_mergeby( sway_inputs, "name" ) }}'
|
||||
sway_inputs: '{{ sway_inputs |
|
||||
community.general.lists_mergeby( local_sway_inputs, "name" ) }}'
|
||||
when: local_sway_inputs is defined
|
||||
|
||||
- name: Merge Kanshi profiles variable
|
||||
ansible.builtin.set_fact:
|
||||
kanshi_profiles: '{{ local_kanshi_profiles |
|
||||
community.general.lists_mergeby(kanshi_profiles, "profile") }}'
|
||||
kanshi_profiles: '{{ kanshi_profiles |
|
||||
community.general.lists_mergeby(local_kanshi_profiles, "profile") }}'
|
||||
when: local_kanshi_profiles is defined
|
||||
|
||||
- name: Install CLI stuff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue