mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-21 20:31:02 +01:00
Compare commits
4 Commits
a89464d364
...
cc77575b1e
Author | SHA1 | Date | |
---|---|---|---|
cc77575b1e | |||
abda184137 | |||
81c0aacec5 | |||
1736d2b876 |
@ -5,4 +5,4 @@ OnFailure=systemd-notifier.cymais@%n.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStartPre=/bin/sh -c '/usr/bin/python {{ path_system_lock_script }} {{ system_maintenance_services | join(' ') }} --ignore {{system_maintenance_cleanup_services| join(' ') }} --timeout "{{sytem_maintenance_lock_timeout_backup_services}}"'
|
ExecStartPre=/bin/sh -c '/usr/bin/python {{ path_system_lock_script }} {{ system_maintenance_services | join(' ') }} --ignore {{system_maintenance_cleanup_services| join(' ') }} --timeout "{{sytem_maintenance_lock_timeout_backup_services}}"'
|
||||||
ExecStart=/bin/sh -c '/usr/bin/yes | /usr/bin/bash {{backup_docker_to_local_cleanup_folder}}cleanup-all.sh {{backup_docker_to_local_cleanup_trigger_directory}}'
|
ExecStart=/bin/sh -c '/usr/bin/yes | /usr/bin/bash {{backup_docker_to_local_cleanup_folder}}cleanup-all.sh'
|
@ -68,4 +68,5 @@
|
|||||||
- name: "remove central database from {{docker_compose_project_name}}_default"
|
- name: "remove central database from {{docker_compose_project_name}}_default"
|
||||||
command:
|
command:
|
||||||
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
|
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
|
||||||
|
ignore_errors: true
|
||||||
when: enable_central_database | bool
|
when: enable_central_database | bool
|
||||||
|
@ -30,7 +30,7 @@ for filename in os.listdir(config_path):
|
|||||||
|
|
||||||
# Determine expected status codes based on the domain
|
# Determine expected status codes based on the domain
|
||||||
if domain == '{{domain_listmonk}}':
|
if domain == '{{domain_listmonk}}':
|
||||||
expected_statuses = [401]
|
expected_statuses = [404]
|
||||||
{% if nginx_matomo_tracking | bool %}
|
{% if nginx_matomo_tracking | bool %}
|
||||||
elif parts[0] == 'www' or domain in redirected_domains:
|
elif parts[0] == 'www' or domain in redirected_domains:
|
||||||
expected_statuses = [301]
|
expected_statuses = [301]
|
||||||
|
Loading…
Reference in New Issue
Block a user