Ansible task to Toggle a file’s encryption status (encrypted/decrypted) using ternary
I am attempting to use ansible to toggle the encryption state of a specified file (encrypt the file if decrypted, decrypt it if encrypted) using the ansible filter “ternary”.