Fix yamllint warning
yamllint . (main|💩?) 15:17
./tasks/generate_ca_cert.yml
8:161 warning line too long (295 > 160 characters) (line-length)
./tasks/generate_client_cert.yml
29:161 warning line too long (316 > 160 characters) (line-length)
./tasks/generate_server_cert.yml
34:161 warning line too long (335 > 160 characters) (line-length)
Hint
running ansible-lint .
will output same warning but with suggestion on how to fix
The root cause is the use of a command to call the openssl CLI.
The correct solution is to instead use Ansible modules from the community.crypto
namespace
Edited by R Menage