From 8db2f850f2ca8b9017e2b19105bd24acbcdf1041 Mon Sep 17 00:00:00 2001 From: Tyler Hale Date: Mon, 22 Aug 2022 13:18:35 -0600 Subject: [PATCH] Switching to proper boolean --- roles/base/tasks/core_cert.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/base/tasks/core_cert.yml b/roles/base/tasks/core_cert.yml index 493246a..d71d73a 100644 --- a/roles/base/tasks/core_cert.yml +++ b/roles/base/tasks/core_cert.yml @@ -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: