- name:(Deprecation) Fail if using outdated configuration
fail:
msg:"You're using the `host_specific_matrix_ssl_support_email` variable, which has been superseded by `host_specific_matrix_ssl_lets_encrypt_support_email`. Please change your configuration to use the new name!"
when:"matrix_ssl_retrieval_method == 'lets-encrypt' and host_specific_matrix_ssl_support_email is defined"
- name:Allow access to HTTP/HTTPS in firewalld
firewalld:
service:"{{ item }}"
state:enabled
immediate:yes
permanent:yes
with_items:
- http
- https
when:"matrix_ssl_retrieval_method == 'lets-encrypt' and ansible_os_family == 'RedHat'"