From fd292f9aa7cbb11e500c3e2f4db4a32b1c3884fa Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 29 Oct 2020 11:14:45 -0700 Subject: [PATCH] Try and fix syntax in that last commit Signed-off-by: Adam Williamson --- roles/base/tasks/crypto-policies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/tasks/crypto-policies.yml b/roles/base/tasks/crypto-policies.yml index 7dc2aed67d..7f2bb5f111 100644 --- a/roles/base/tasks/crypto-policies.yml +++ b/roles/base/tasks/crypto-policies.yml @@ -18,7 +18,7 @@ - name: Set crypto-policy on fedora 33 and higher hosts to allow 2fa to work command: "update-crypto-policies --set LEGACY" - when: "(ansible_distribution_major_version|int >= 33) and (currentcryptopolicy.stdout.find("LEGACY") == -1 or cryptopolicyapplied.rc != 0)" + when: "ansible_distribution_major_version|int >= 33 and (currentcryptopolicy.stdout.find('LEGACY') == -1 or cryptopolicyapplied.rc != 0)" tags: - crypto-policies - base/crypto-policies