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.
 
 

37 line
987 B

  1. ---
  2. # Always validating the configuration, even if `matrix_nginx_proxy: false`.
  3. # This role performs actions even if the role is disabled, so we need
  4. # to ensure there's a valid configuration in any case.
  5. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/validate_config.yml"
  6. when: run_setup | bool
  7. tags:
  8. - setup-all
  9. - setup-nginx-proxy
  10. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/ssl/main.yml"
  11. when: run_setup | bool
  12. tags:
  13. - setup-all
  14. - setup-nginx-proxy
  15. - setup-ssl
  16. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_nginx_proxy.yml"
  17. when: run_setup | bool
  18. tags:
  19. - setup-all
  20. - setup-nginx-proxy
  21. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/self_check_well_known.yml"
  22. delegate_to: 127.0.0.1
  23. become: false
  24. when: run_self_check | bool
  25. tags:
  26. - self-check
  27. - name: Mark matrix-nginx-proxy role as executed
  28. ansible.builtin.set_fact:
  29. matrix_nginx_proxy_role_executed: true
  30. tags:
  31. - always