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.
 
 

42 lines
1.1 KiB

  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. - install-all
  11. - install-nginx-proxy
  12. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/ssl/main.yml"
  13. when: run_setup | bool
  14. tags:
  15. - setup-all
  16. - setup-nginx-proxy
  17. - setup-ssl
  18. - install-all
  19. - install-nginx-proxy
  20. - install-ssl
  21. - ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_nginx_proxy.yml"
  22. when: run_setup | bool
  23. tags:
  24. - setup-all
  25. - setup-nginx-proxy
  26. - install-all
  27. - install-nginx-proxy
  28. - tags:
  29. - self-check
  30. block:
  31. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_well_known.yml"
  32. - name: Mark matrix-nginx-proxy role as executed
  33. tags:
  34. - always
  35. ansible.builtin.set_fact:
  36. matrix_nginx_proxy_role_executed: true