Procházet zdrojové kódy

Merge pull request #568 from xshadow/api_self_checks_ansible_check_mode

Run all API self checks in check_mode
pull/569/head
Slavi Pantaleev před 5 roky
committed by GitHub
rodič
revize
ddeefa5f79
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
6 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. +1
    -0
      roles/matrix-corporal/tasks/self_check_corporal.yml
  2. +1
    -0
      roles/matrix-ma1sd/tasks/self_check_ma1sd.yml
  3. +2
    -0
      roles/matrix-nginx-proxy/tasks/self_check_well_known_file.yml
  4. +1
    -0
      roles/matrix-riot-web/tasks/self_check_riot_web.yml
  5. +1
    -0
      roles/matrix-synapse/tasks/self_check_client_api.yml
  6. +1
    -0
      roles/matrix-synapse/tasks/self_check_federation_api.yml

+ 1
- 0
roles/matrix-corporal/tasks/self_check_corporal.yml Zobrazit soubor

@@ -8,6 +8,7 @@
url: "{{ corporal_client_api_url_endpoint_public }}" url: "{{ corporal_client_api_url_endpoint_public }}"
follow_redirects: none follow_redirects: none
return_content: true return_content: true
check_mode: no
register: result_corporal_client_api register: result_corporal_client_api
ignore_errors: true ignore_errors: true




+ 1
- 0
roles/matrix-ma1sd/tasks/self_check_ma1sd.yml Zobrazit soubor

@@ -8,6 +8,7 @@
url: "{{ ma1sd_url_endpoint_public }}" url: "{{ ma1sd_url_endpoint_public }}"
follow_redirects: none follow_redirects: none
validate_certs: "{{ matrix_ma1sd_self_check_validate_certificates }}" validate_certs: "{{ matrix_ma1sd_self_check_validate_certificates }}"
check_mode: no
register: result_ma1sd register: result_ma1sd
ignore_errors: true ignore_errors: true




+ 2
- 0
roles/matrix-nginx-proxy/tasks/self_check_well_known_file.yml Zobrazit soubor

@@ -12,6 +12,7 @@
follow_redirects: none follow_redirects: none
return_content: true return_content: true
validate_certs: "{{ well_known_file_check.validate_certs }}" validate_certs: "{{ well_known_file_check.validate_certs }}"
check_mode: no
register: result_well_known_matrix register: result_well_known_matrix
ignore_errors: true ignore_errors: true


@@ -39,6 +40,7 @@
follow_redirects: "{{ well_known_file_check.follow_redirects }}" follow_redirects: "{{ well_known_file_check.follow_redirects }}"
return_content: true return_content: true
validate_certs: "{{ well_known_file_check.validate_certs }}" validate_certs: "{{ well_known_file_check.validate_certs }}"
check_mode: no
register: result_well_known_identity register: result_well_known_identity
ignore_errors: true ignore_errors: true




+ 1
- 0
roles/matrix-riot-web/tasks/self_check_riot_web.yml Zobrazit soubor

@@ -9,6 +9,7 @@
follow_redirects: none follow_redirects: none
validate_certs: "{{ matrix_riot_web_self_check_validate_certificates }}" validate_certs: "{{ matrix_riot_web_self_check_validate_certificates }}"
register: result_riot_web register: result_riot_web
check_mode: no
ignore_errors: true ignore_errors: true


- name: Fail if riot-web not working - name: Fail if riot-web not working


+ 1
- 0
roles/matrix-synapse/tasks/self_check_client_api.yml Zobrazit soubor

@@ -7,6 +7,7 @@
validate_certs: "{{ matrix_synapse_self_check_validate_certificates }}" validate_certs: "{{ matrix_synapse_self_check_validate_certificates }}"
register: result_matrix_synapse_client_api register: result_matrix_synapse_client_api
ignore_errors: true ignore_errors: true
check_mode: no
when: matrix_synapse_enabled|bool when: matrix_synapse_enabled|bool


- name: Fail if Matrix Client API not working - name: Fail if Matrix Client API not working


+ 1
- 0
roles/matrix-synapse/tasks/self_check_federation_api.yml Zobrazit soubor

@@ -7,6 +7,7 @@
validate_certs: "{{ matrix_synapse_self_check_validate_certificates }}" validate_certs: "{{ matrix_synapse_self_check_validate_certificates }}"
register: result_matrix_synapse_federation_api register: result_matrix_synapse_federation_api
ignore_errors: true ignore_errors: true
check_mode: no
when: matrix_synapse_enabled|bool when: matrix_synapse_enabled|bool


- name: Fail if Matrix Federation API not working - name: Fail if Matrix Federation API not working


Načítá se…
Zrušit
Uložit