Don't need to omit an empty URL with "when" state
This commit is contained in:
parent
2be51c2c7b
commit
248cca2f77
|
@ -15,7 +15,7 @@
|
|||
# Manage agent package [[[1
|
||||
- name: Ensure fusioninventory-agent package from URL
|
||||
apt:
|
||||
deb: '{{ fusioninventory__agent_package_url | d(omit) }}'
|
||||
deb: '{{ fusioninventory__agent_package_url }}'
|
||||
when: fusioninventory__agent_package_url != ""
|
||||
and fusioninventory__agent_deploy_state == "present"
|
||||
|
||||
|
|
Reference in New Issue