Switching to proper boolean
This commit is contained in:
parent
e4821a8f05
commit
8db2f850f2
1 changed files with 3 additions and 3 deletions
|
@ -15,14 +15,14 @@
|
|||
state: latest
|
||||
extra_args: --upgrade
|
||||
when: ansible_python_version is version('3', '>=')
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
- name: Install latest python2-cryptography
|
||||
package:
|
||||
name: python2-cryptography
|
||||
state: latest
|
||||
when: ((ansible_python_version is version('2', '>=')) and (ansible_python_version is version('3', '<')) )
|
||||
become: no
|
||||
become: false
|
||||
|
||||
- name: Install latest cryptography
|
||||
pip:
|
||||
|
@ -30,7 +30,7 @@
|
|||
executable: pip3
|
||||
state: latest
|
||||
when: ansible_python_version is version('3', '>=')
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
- name: Ensure directory exists for local self-signed TLS certs
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue