From 10927406cf6394a3a270c45cfa31952db3c2b38e Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Tue, 7 May 2024 22:09:50 +0200 Subject: [PATCH] fix: don't start ont network config service --- .../ferrarimarco_home_lab_node/vars/monitoring-ont-stack.yaml | 2 +- .../roles/ferrarimarco_home_lab_node/vars/restic-stack.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ansible/roles/ferrarimarco_home_lab_node/vars/monitoring-ont-stack.yaml b/config/ansible/roles/ferrarimarco_home_lab_node/vars/monitoring-ont-stack.yaml index 790e79f2c..6dc44ae7c 100644 --- a/config/ansible/roles/ferrarimarco_home_lab_node/vars/monitoring-ont-stack.yaml +++ b/config/ansible/roles/ferrarimarco_home_lab_node/vars/monitoring-ont-stack.yaml @@ -34,9 +34,9 @@ monitoring_ont_os_services: - enabled: true service_name: "{{ monitoring_ont_os_service_file_name }}" service_state: "{{ configure_monitoring_ont | ternary('started', 'stopped') }}" + # Don't start this service because a timer takes care of that - enabled: true service_name: "{{ monitoring_ont_network_config_service_file_name }}" - service_state: "{{ configure_monitoring_ont | ternary('started', 'stopped') }}" monitoring_ont_templates_to_render: - src: "{{ monitoring_ont_tag }}/{{ monitoring_ont_os_service_file_name }}.jinja" dest: "{{ systemd_system_services_configuration_directory }}/{{ monitoring_ont_os_service_file_name }}" diff --git a/config/ansible/roles/ferrarimarco_home_lab_node/vars/restic-stack.yaml b/config/ansible/roles/ferrarimarco_home_lab_node/vars/restic-stack.yaml index 91e4d4fa6..d2332b2a7 100644 --- a/config/ansible/roles/ferrarimarco_home_lab_node/vars/restic-stack.yaml +++ b/config/ansible/roles/ferrarimarco_home_lab_node/vars/restic-stack.yaml @@ -52,7 +52,7 @@ restic_templates_to_render: dest: "{{ restic_docker_compose_destination_file_path }}" state: "{{ configure_backup_restic | ternary('file', 'absent') }}" docker_compose_services_to_restart: "{{ restic_docker_compose_up_items }}" - # This file may contain secrets, so we want to restric access to the owner and group only + # This file may contain secrets, so we want to restrict access to the owner and group only # (defaults to root:root) mode: "0640" ...