From 81a871cddb237c09f26c7b78cf48e79d47ca6f73 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sun, 28 Dec 2025 12:32:03 -0700 Subject: [PATCH] Reload SystemD more, and don't consider that an "actualization". Run ~systemctl daemon-reload~ after frobbing =/etc/systemd/system/=. --- README.org | 9 ++++----- roles_t/core/handlers/main.yml | 1 - roles_t/core/tasks/main.yml | 5 +++-- roles_t/front/handlers/main.yml | 1 - roles_t/gate/handlers/main.yml | 1 - 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.org b/README.org index d8e3511..87fe04d 100644 --- a/README.org +++ b/README.org @@ -2312,7 +2312,6 @@ not be started before the ~wg0~ device has appeared. become: yes systemd: daemon-reload: yes - tags: actualizer #+END_SRC Finally, Kamailio can be configured and started. @@ -2445,7 +2444,6 @@ list, and to disable its cache and stub listener. - { regexp: '^ *Cache *=', line: "Cache=no" } - { regexp: '^ *DNSStubListener *=', line: "DNSStubListener=no" } notify: - - Reload Systemd. - Restart Systemd resolved. #+END_SRC @@ -2456,7 +2454,6 @@ list, and to disable its cache and stub listener. become: yes systemd: daemon-reload: yes - tags: actualizer - name: Restart Systemd resolved. become: yes @@ -3371,6 +3368,7 @@ provided the Core service. when: - members[item].status == 'current' - members[item].password_fetchmail is defined + notify: Reload Systemd. tags: accounts - name: Enable/Start user fetchmail services. @@ -3383,7 +3381,8 @@ provided the Core service. when: - members[item].status == 'current' - members[item].password_fetchmail is defined - tags: accounts, actualizer + notify: Reload Systemd. + tags: accounts #+END_SRC Finally, any former member's Fetchmail service on Core should be @@ -3420,6 +3419,7 @@ Otherwise the following task might be appropriate. when: - members[item].status != 'current' - members[item].password_fetchmail is defined + notify: Reload Systemd. tags: accounts #+END_SRC @@ -5049,7 +5049,6 @@ listener" listen there. That stub should not read =/etc/hosts= lest become: yes systemd: daemon-reload: yes - tags: actualizer - name: Restart Systemd resolved. become: yes diff --git a/roles_t/core/handlers/main.yml b/roles_t/core/handlers/main.yml index 71d259b..074fe58 100644 --- a/roles_t/core/handlers/main.yml +++ b/roles_t/core/handlers/main.yml @@ -3,7 +3,6 @@ become: yes systemd: daemon-reload: yes - tags: actualizer - name: Restart Systemd resolved. become: yes diff --git a/roles_t/core/tasks/main.yml b/roles_t/core/tasks/main.yml index 94e9114..90c7247 100644 --- a/roles_t/core/tasks/main.yml +++ b/roles_t/core/tasks/main.yml @@ -39,7 +39,6 @@ - { regexp: '^ *Cache *=', line: "Cache=no" } - { regexp: '^ *DNSStubListener *=', line: "DNSStubListener=no" } notify: - - Reload Systemd. - Restart Systemd resolved. - name: Install 10-lan.link. @@ -479,6 +478,7 @@ when: - members[item].status == 'current' - members[item].password_fetchmail is defined + notify: Reload Systemd. tags: accounts - name: Enable/Start user fetchmail services. @@ -491,7 +491,8 @@ when: - members[item].status == 'current' - members[item].password_fetchmail is defined - tags: accounts, actualizer + notify: Reload Systemd. + tags: accounts - name: Stop former user fetchmail services. become: yes diff --git a/roles_t/front/handlers/main.yml b/roles_t/front/handlers/main.yml index 3b46b63..e51d031 100644 --- a/roles_t/front/handlers/main.yml +++ b/roles_t/front/handlers/main.yml @@ -43,7 +43,6 @@ become: yes systemd: daemon-reload: yes - tags: actualizer - name: Restart Kamailio. become: yes diff --git a/roles_t/gate/handlers/main.yml b/roles_t/gate/handlers/main.yml index 2ecd80c..c9076eb 100644 --- a/roles_t/gate/handlers/main.yml +++ b/roles_t/gate/handlers/main.yml @@ -8,7 +8,6 @@ become: yes systemd: daemon-reload: yes - tags: actualizer - name: Restart Systemd resolved. become: yes -- 2.47.3