Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

22 行
884 B

  1. ---
  2. - name: Check ma1sd Identity Service
  3. ansible.builtin.uri:
  4. url: "{{ matrix_ma1sd_self_check_endpoint_url }}"
  5. follow_redirects: none
  6. validate_certs: "{{ matrix_ma1sd_self_check_validate_certificates }}"
  7. check_mode: false
  8. register: result_ma1sd
  9. ignore_errors: true
  10. delegate_to: 127.0.0.1
  11. become: false
  12. - name: Fail if ma1sd Identity Service not working
  13. ansible.builtin.fail:
  14. msg: "Failed checking ma1sd is up at `{{ matrix_ma1sd_hostname }}` (checked endpoint: `{{ matrix_ma1sd_self_check_endpoint_url }}`). Is ma1sd running? Is port 443 open in your firewall? Full error: {{ result_ma1sd }}"
  15. when: "result_ma1sd.failed or 'json' not in result_ma1sd"
  16. - name: Report working ma1sd Identity Service
  17. ansible.builtin.debug:
  18. msg: "ma1sd at `{{ matrix_ma1sd_hostname }}` is working (checked endpoint: `{{ matrix_ma1sd_self_check_endpoint_url }}`)"