From 27bf5c1dff2d1d2d6f0640b81a2355e64650b2c7 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 18 Apr 2024 14:20:25 -0600 Subject: [PATCH] Fix defaults assignment --- roles/init/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/init/tasks/main.yml b/roles/init/tasks/main.yml index ef3c2b7..c657b72 100644 --- a/roles/init/tasks/main.yml +++ b/roles/init/tasks/main.yml @@ -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: