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
|
state: latest
|
||||||
extra_args: --upgrade
|
extra_args: --upgrade
|
||||||
when: ansible_python_version is version('3', '>=')
|
when: ansible_python_version is version('3', '>=')
|
||||||
become: yes
|
become: true
|
||||||
|
|
||||||
- name: Install latest python2-cryptography
|
- name: Install latest python2-cryptography
|
||||||
package:
|
package:
|
||||||
name: python2-cryptography
|
name: python2-cryptography
|
||||||
state: latest
|
state: latest
|
||||||
when: ((ansible_python_version is version('2', '>=')) and (ansible_python_version is version('3', '<')) )
|
when: ((ansible_python_version is version('2', '>=')) and (ansible_python_version is version('3', '<')) )
|
||||||
become: no
|
become: false
|
||||||
|
|
||||||
- name: Install latest cryptography
|
- name: Install latest cryptography
|
||||||
pip:
|
pip:
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
executable: pip3
|
executable: pip3
|
||||||
state: latest
|
state: latest
|
||||||
when: ansible_python_version is version('3', '>=')
|
when: ansible_python_version is version('3', '>=')
|
||||||
become: yes
|
become: true
|
||||||
|
|
||||||
- name: Ensure directory exists for local self-signed TLS certs
|
- name: Ensure directory exists for local self-signed TLS certs
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue