Skip to content

Commit

Permalink
Fix defaults assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
syndr committed Apr 18, 2024
1 parent a5a2aa5 commit 27bf5c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/init/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
- name: Build base docker platform definition
when: init_platform_type == 'docker'
ansible.builtin.set_fact:
init_platforms: "{{ init_platforms | default(init_platform_defaults.docker) }}"
init_platforms: "{{ init_platforms | default(init_platform_defaults.docker, true) }}"

- name: Build base ec2 platform definition
when: init_platform_type == 'ec2'
ansible.builtin.set_fact:
init_platforms: "{{ init_platforms | default(init_platform_defaults.ec2) }}"
init_platforms: "{{ init_platforms | default(init_platform_defaults.ec2, true) }}"

- name: Platform definition is valid
ansible.builtin.assert:
Expand Down

0 comments on commit 27bf5c1

Please sign in to comment.