Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

31 строка
810 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. recurse: true
  15. with_items:
  16. - "{{ matrix_ssl_log_dir_path }}"
  17. - "{{ matrix_ssl_config_dir_path }}"
  18. # Method specific tasks follow
  19. - import_tasks: tasks/ssl/setup_ssl_lets_encrypt.yml
  20. - import_tasks: tasks/ssl/setup_ssl_self_signed.yml
  21. - import_tasks: tasks/ssl/setup_ssl_manually_managed.yml