mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
[PR #6152/11c7611c backport][stable-6] More true/false normalization (#6153)
More true/false normalization (#6152)
* More true/false normalization.
* Boolean do not need explicit choices.
* One more.
* Fix type argument.
(cherry picked from commit 11c7611ced
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
186b4200f6
commit
47514e1401
48 changed files with 203 additions and 219 deletions
|
@ -22,7 +22,7 @@
|
|||
- vars
|
||||
|
||||
- name: Install OpenSSL
|
||||
become: True
|
||||
become: true
|
||||
package:
|
||||
name: '{{ openssl_package_name }}'
|
||||
when: not ansible_os_family == 'Darwin'
|
||||
|
@ -49,13 +49,13 @@
|
|||
when: cryptography_from_pip
|
||||
|
||||
- name: Install pyOpenSSL (Python 3)
|
||||
become: True
|
||||
become: true
|
||||
package:
|
||||
name: '{{ pyopenssl_package_name_python3 }}'
|
||||
when: pyopenssl_package_name_python3 is defined and ansible_python_version is version('3.0', '>=')
|
||||
|
||||
- name: Install pyOpenSSL (Python 2)
|
||||
become: True
|
||||
become: true
|
||||
package:
|
||||
name: '{{ pyopenssl_package_name }}'
|
||||
when: pyopenssl_package_name is defined and ansible_python_version is version('3.0', '<')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue