소스 검색

Fix syntax error in force restart

pull/5187/head
Catalan Lover 3 달 전
부모
커밋
e3b6e248cd
No known key found for this signature in database GPG 키 ID: 99A263BABA26C9D9
2개의 변경된 파일14개의 추가작업 그리고 4개의 파일을 삭제
  1. +7
    -2
      roles/custom/matrix-appservice-draupnir-for-all/defaults/main.yml
  2. +7
    -2
      roles/custom/matrix-bot-draupnir/defaults/main.yml

+ 7
- 2
roles/custom/matrix-appservice-draupnir-for-all/defaults/main.yml 파일 보기

@@ -49,11 +49,16 @@ matrix_appservice_draupnir_for_all_systemd_wanted_services_list: []
# Force restart tag is used to control if the tag that is used is rolling or not.
# When both Draupnir roles are enabled, we only force restart if they are on the same
# version string and that version string matches the moving tag.
matrix_appservice_draupnir_for_all_force_restart_tag: "latest"
matrix_appservice_draupnir_for_all_force_rolling_tag: "latest"

# Force restart the service on all runs only when both roles are enabled, both roles
# are using the same version string, and that version is the moving tag.
matrix_appservice_draupnir_for_all_force_restart: "if {{ matrix_bot_draupnir_enabled | bool and matrix_appservice_draupnir_for_all_enabled | bool and matrix_bot_draupnir_version == matrix_appservice_draupnir_for_all_version and matrix_appservice_draupnir_for_all_version == matrix_appservice_draupnir_for_all_force_restart_tag }} then true else false end"
matrix_appservice_draupnir_for_all_force_restart: "{{
matrix_bot_draupnir_enabled | bool and
matrix_appservice_draupnir_for_all_enabled | bool and
matrix_bot_draupnir_version == matrix_appservice_draupnir_for_all_version and
matrix_appservice_draupnir_for_all_version == matrix_appservice_draupnir_for_all_force_rolling_tag
}}"

# The room ID where people can use the bot. The bot has no access controls, so
# anyone in this room can use the bot - secure your room!


+ 7
- 2
roles/custom/matrix-bot-draupnir/defaults/main.yml 파일 보기

@@ -31,11 +31,16 @@ matrix_bot_draupnir_container_src_files_path: "{{ matrix_bot_draupnir_base_path
# Force restart tag is used to control if the tag that is used is rolling or not.
# When both Draupnir roles are enabled, we only force restart if they are on the same
# version string and that version string matches the moving tag.
matrix_bot_draupnir_force_restart_tag: "latest"
matrix_bot_draupnir_force_rolling_tag: "latest"

# Force restart the service on all runs only when both roles are enabled, both roles
# are using the same version string, and that version is the moving tag.
matrix_bot_draupnir_force_restart: "if {{ matrix_bot_draupnir_enabled | bool and matrix_appservice_draupnir_for_all_enabled | bool and matrix_bot_draupnir_version == matrix_appservice_draupnir_for_all_version and matrix_bot_draupnir_version == matrix_bot_draupnir_force_restart_tag }} then true else false end"
matrix_bot_draupnir_force_restart: "{{
matrix_bot_draupnir_enabled | bool and
matrix_appservice_draupnir_for_all_enabled | bool and
matrix_bot_draupnir_version == matrix_appservice_draupnir_for_all_version and
matrix_bot_draupnir_version == matrix_bot_draupnir_rolling_tag
}}"

matrix_bot_draupnir_config_web_enabled: "{{ matrix_bot_draupnir_config_web_abuseReporting or matrix_bot_draupnir_config_web_synapseHTTPAntispam_enabled }}" # noqa var-naming



불러오는 중...
취소
저장