Browse Source

fix structured field default ramification

Grega Bremec 1 month ago
parent
commit
aca4e47ce4
1 changed files with 1 additions and 2 deletions
  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