Use default(omit) instead of hardcoded string
This commit is contained in:
parent
2f5587e279
commit
738bcd7b41
|
@ -6,5 +6,5 @@
|
|||
pip:
|
||||
name: "{{ item.name | default(item) }}"
|
||||
version: "{{ item.version | default(omit) }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
state: "{{ item.state | default(omit) }}"
|
||||
with_items: "{{ pip_install_packages }}"
|
||||
|
|
Loading…
Reference in New Issue