Merge "Do not dereference .stdout if dmidecode is missing"
This commit is contained in:
commit
d71c8b4aaa
@ -443,7 +443,7 @@ outputs:
|
||||
- name: generate host vars from nodes data
|
||||
local_action:
|
||||
module: copy
|
||||
content: "{% raw %}{{nodes_data[machine_uuid.stdout]|default({})|to_nice_yaml}}{% endraw %}"
|
||||
content: "{% raw %}{{nodes_data[machine_uuid.stdout|default('')]|default({})|to_nice_yaml}}{% endraw %}"
|
||||
dest: "{{playbook_dir}}/ceph-ansible/host_vars/{% raw %}{{inventory_hostname}}{% endraw %}.yml"
|
||||
- name: ceph_base_external_deploy_task
|
||||
when: step == '2'
|
||||
|
Loading…
x
Reference in New Issue
Block a user