ok debug stuff did its job goodbye

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-10-30 13:14:54 -07:00
parent ea70d16680
commit e14052db33

View file

@ -16,13 +16,6 @@
- crypto-policies
- base/crypto-policies
- name: debug debug
debug:
msg: "admv is {{ ansible_distribution_major_version }} ccp is {{ currentcryptopolicy.stdout }} cpa is {{ cryptopolicyapplied.rc }} "
tags:
- crypto-policies
- base/crypto-policies
- 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)"