Skip to content
Snippets Groups Projects
Verified Commit 0cdba386 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: logical mistake in crypto-policy condition

parent 75ad2e61
No related branches found
No related tags found
No related merge requests found
Pipeline #10748 passed
......@@ -8,7 +8,7 @@
- name: Set crypto policy.
ansible.builtin.command:
cmd: "/usr/bin/update-crypto-policies --set FUTURE"
when: "'FUTURE' in crypto_policy.stdout"
when: "'FUTURE' not in crypto_policy.stdout"
notify:
- "restart sshd"
# The best soluion would be to reboot the server, but we won't do that for availability.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment