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.
 
 

30 rivejä
792 B

  1. ---
  2. - name: Fail if using unsupported SSL certificate retrieval method
  3. fail:
  4. msg: "The `matrix_ssl_retrieval_method` variable contains an unsupported value"
  5. when: "matrix_ssl_retrieval_method not in ['lets-encrypt', 'self-signed', 'manually-managed']"
  6. # Common tasks, required by any method below.
  7. - name: Ensure SSL certificate paths exists
  8. file:
  9. path: "{{ item }}"
  10. state: directory
  11. mode: 0770
  12. owner: "{{ matrix_user_username }}"
  13. group: "{{ matrix_user_username }}"
  14. with_items:
  15. - "{{ matrix_ssl_log_dir_path }}"
  16. - "{{ matrix_ssl_config_dir_path }}"
  17. # Method specific tasks follow
  18. - import_tasks: tasks/ssl/setup_ssl_lets_encrypt.yml
  19. - import_tasks: tasks/ssl/setup_ssl_self_signed.yml
  20. - import_tasks: tasks/ssl/setup_ssl_manually_managed.yml