diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 16:23:20 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 16:23:20 +0200 |
commit | db5874224893ea999af8558c1d5ead7f0d7223b0 (patch) | |
tree | 2726cce1547739de65893675359e3812a6688218 /roles/kubernetes/standalone | |
parent | apps/jitsi/meet: migrate to new standalone pod role (diff) |
apps/collabora/code: migrate to new standalone pod role
Diffstat (limited to 'roles/kubernetes/standalone')
-rw-r--r-- | roles/kubernetes/standalone/pod/tasks/main.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/roles/kubernetes/standalone/pod/tasks/main.yml b/roles/kubernetes/standalone/pod/tasks/main.yml index 73048a81..7f87cf3f 100644 --- a/roles/kubernetes/standalone/pod/tasks/main.yml +++ b/roles/kubernetes/standalone/pod/tasks/main.yml @@ -10,9 +10,10 @@ - name: gather stats for config-hash items loop: "{{ kubernetes_standalone_pod.config_hash_items }}" loop_control: - label: "{{ item.path }} ({{ item.properties | sort | join(', ') }})" + loop_var: config_hash_item + label: "{{ config_hash_item.path }} ({{ config_hash_item.properties | sort | join(', ') }})" stat: - path: "{{ item.path }}" + path: "{{ config_hash_item.path }}" get_checksum: yes checksum_algorithm: sha256 register: config_hash_items_stat @@ -25,8 +26,8 @@ copy: content: | {% for result in config_hash_items_stat.results %} - {{ result.item.path }}: - {% for property in (result.item.properties | sort) %} + {{ result.config_hash_item.path }}: + {% for property in (result.config_hash_item.properties | sort) %} {{ property }}: {{ result.stat[property] }} {% endfor %} {% endfor %} |