Switching to proper boolean

This commit is contained in:
Tyler Hale 2022-08-22 13:18:35 -06:00
parent e4821a8f05
commit 8db2f850f2
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -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: