Quellcode durchsuchen

Fix syntax error in force restart

pull/5187/head
Catalan Lover vor 1 Monat
Ursprung
Commit
e3b6e248cd
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 99A263BABA26C9D9
2 geänderte Dateien mit 14 neuen und 4 gelöschten Zeilen
  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 Datei anzeigen

@@ -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. # 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 # 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. # 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 # 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. # 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 # 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! # anyone in this room can use the bot - secure your room!


+ 7
- 2
roles/custom/matrix-bot-draupnir/defaults/main.yml Datei anzeigen

@@ -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. # 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 # 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. # 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 # 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. # 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 matrix_bot_draupnir_config_web_enabled: "{{ matrix_bot_draupnir_config_web_abuseReporting or matrix_bot_draupnir_config_web_synapseHTTPAntispam_enabled }}" # noqa var-naming




Laden…
Abbrechen
Speichern