Add a bit of debugging to crypto-policies
aka why isn't it working on a64 worker02 Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
b60dce6bdc
commit
e02baf2149
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@
|
||||||
- crypto-policies
|
- crypto-policies
|
||||||
- base/crypto-policies
|
- base/crypto-policies
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
msg: "admv is {{ ansible_distribution_major_version }} ccp is {{ currentcryptopolicy.stdout }} cpa is {{ cryptopolicyapplied.rc }} "
|
||||||
|
|
||||||
- name: Set crypto-policy on fedora 33 and higher hosts to allow 2fa to work
|
- name: Set crypto-policy on fedora 33 and higher hosts to allow 2fa to work
|
||||||
command: "update-crypto-policies --set LEGACY"
|
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)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue