Explorar o código

fix structured field default ramification

Grega Bremec hai 1 mes
pai
achega
aca4e47ce4
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      playbooks/roles/deploy-rhbk/tasks/main.yml

+ 1 - 2
playbooks/roles/deploy-rhbk/tasks/main.yml

@@ -33,8 +33,7 @@
 #
 - name: Tech hack. Prevent anything from blowing up because rhbk is defined somewhere, but not its structured contents.
   ansible.builtin.set_fact:
-    rhbk:
-      db: {}
+    rhbk: "{{ rhbk | default({}) | combine({ 'db': {} }) }}"
   when:
     - rhbk.db is not defined