Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
589 B

  1. ---
  2. - name: Ensure OpenSSL installed (RedHat)
  3. yum:
  4. name:
  5. - openssl
  6. state: present
  7. update_cache: no
  8. when: ansible_os_family == 'RedHat'
  9. - name: Ensure APT usage dependencies are installed (Debian)
  10. apt:
  11. name:
  12. - openssl
  13. state: present
  14. update_cache: no
  15. when: ansible_os_family == 'Debian'
  16. - name: Obtain certificates
  17. include_tasks: "tasks/setup/ssl/setup_ssl_self_signed_obtain_for_domain.yml"
  18. with_items: "{{ domains_requiring_certificates }}"
  19. loop_control:
  20. loop_var: domain_name
  21. when: "matrix_ssl_retrieval_method == 'self-signed'"