Skip to content

Commit

Permalink
Bug/issue#383 (#411)
Browse files Browse the repository at this point in the history
* Fix Jekyll Build

* fix
  • Loading branch information
alaa-bish authored Oct 25, 2023
1 parent e3629ff commit d1a0016
Showing 1 changed file with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,22 @@
- set_fact:
db_uuid: "{{result.db_uuid}}"

- name: create properties map
set_fact:
properties: "{{ properties | default({}) | combine ({ item['name'] : item['value'] }) }}"
loop: "{{result.response.properties}}"
- name: Ensure properties is defined
set_fact:
properties: "{}"
when: properties is undefined

- name: Combine properties
block:
- set_fact:
temp_dict: "{ '{{' }} item['name']: item['value'] {{ '}}' }}"
- set_fact:
properties: "{{ properties | combine(temp_dict) }}"
loop: "{{ result.response.properties }}"
no_log: true



- name: Creation Status
assert:
that:
Expand Down

0 comments on commit d1a0016

Please sign in to comment.