fix: use correct var name
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
target_host: >-
|
target_host: >-
|
||||||
{{ (ansible_play_hosts
|
{{ (ansible_play_hosts
|
||||||
| map('extract', hostvars)
|
| map('extract', hostvars)
|
||||||
| selectattr('has_target_file', 'equalto', true)
|
| selectattr('has_image_file', 'equalto', true)
|
||||||
| sort(attribute='root_free_space', reverse=true)
|
| sort(attribute='root_free_space', reverse=true)
|
||||||
| map(attribute='inventory_hostname')
|
| map(attribute='inventory_hostname')
|
||||||
| first)
|
| first)
|
||||||
|
|||||||
Reference in New Issue
Block a user