Fix a boolean test.
This commit is contained in:
parent
89fdd609dd
commit
9b447ea7eb
|
@ -4,7 +4,7 @@
|
|||
apt: name={{ py_env_basic_pkgs | default([]) }} state={{ py_env_pkgs_state }} update_cache=yes cache_valid_time=600
|
||||
|
||||
when:
|
||||
- py_env_install | bool
|
||||
- py_env_install
|
||||
- ansible_facts['distribution_version'] is version('16.04', '>=')
|
||||
- ansible_distribution_file_variety == "Debian"
|
||||
tags: [ "python", "py_env" ]
|
||||
|
@ -23,7 +23,7 @@
|
|||
apt: name={{ py_env_dpkg_toremove | default([]) }} state=absent
|
||||
|
||||
when:
|
||||
- py_env_install | bool
|
||||
- py_env_install
|
||||
- ansible_distribution_file_variety == "Debian"
|
||||
tags: [ "python", "py_env", "py_env_pkgs" ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue