Configure a new host without starting services.
authorMatt Birkholz <matt@birchwood-abbey.net>
Thu, 18 Sep 2025 21:10:37 +0000 (15:10 -0600)
committerMatt Birkholz <matt@birchwood-abbey.net>
Thu, 18 Sep 2025 21:10:37 +0000 (15:10 -0600)
Following the example of the small institute's use of an ~actualizer~
tag.

README.org
roles_t/abbey-cloister/handlers/main.yml
roles_t/abbey-core/handlers/main.yml
roles_t/abbey-dvr/tasks/main.yml
roles_t/abbey-front/handlers/main.yml
roles_t/abbey-tvr/handlers/main.yml

index deadb891c87e9b3e72802720075e9e53c8b773c3..706f3d365f0bd5fe071ea662613dc83d7ee31214 100644 (file)
@@ -154,6 +154,7 @@ from there, forwarding ~sysadm~ to a real person.
 - name: New aliases.
   become: yes
   command: newaliases
+  tags: actualizer
 #+END_SRC
 
 ** Configure Git Daemon on Front
@@ -258,6 +259,7 @@ like ~git-tasks~ and ~git-handlers~.
 - name: Restart git daemon.
   become: yes
   command: systemctl restart git-daemon
+  tags: actualizer
 #+END_SRC
 
 ** Configure Gitweb on Front
@@ -371,6 +373,7 @@ web site =/favicon.ico=.
   systemd:
     service: apache2
     state: restarted
+  tags: actualizer
 #+END_SRC
 
 ** Configure Apache for Abbey Documentation
@@ -530,6 +533,7 @@ The replacement =logrotate-mailer= does, and includes it in a
   become: yes
   systemd:
     daemon_reload: yes
+  tags: actualizer
 #+END_SRC
 
 Note that the first setting for ~ExecStart~ is intended to clear the
@@ -877,6 +881,7 @@ e.g. ~mythtv@mythtv.birchwood.private~, locally.)
 - name: New aliases.
   become: yes
   command: newaliases
+  tags: actualizer
 #+END_SRC
 
 ** Configure Git Daemon on Core
@@ -1043,6 +1048,7 @@ remaining on roots.)
   systemd:
     service: nagios4
     state: reloaded
+  tags: actualizer
 #+END_SRC
 
 ** Custom NAGIOS Monitor ~abbey_pisensors~
@@ -1363,6 +1369,7 @@ next task configures ~libsensors~ to ignore them.
   systemd:
     service: munin
     state: restarted
+  tags: actualizer
 #+END_SRC
 
 ** Install Analog
@@ -1689,6 +1696,7 @@ Raspberry Pis (architecture ~aarch64~) only.
   systemd:
     service: nagios-nrpe-server
     state: reloaded
+  tags: actualizer
 #+END_SRC
 
 ** Install Munin Node
@@ -1933,13 +1941,20 @@ by =install.sh=.
       dest: /etc/systemd/system/AgentDVR.service
     when: agentdvr.stat.exists
 
-  - name: Enable/Start AgentDVR.service.
+  - name: Start AgentDVR.service.
     become: yes
     systemd:
       service: AgentDVR
-      enabled: yes
       state: started
     when: agentdvr.stat.exists
+    tags: actualizer
+
+  - name: Enable AgentDVR.service.
+    become: yes
+    systemd:
+      service: AgentDVR
+      enabled: yes
+    when: agentdvr.stat.exists
 #+END_SRC
 
 ** Create AgentDVR Storage
@@ -2388,6 +2403,7 @@ bitter complaints.
   systemd:
     service: apache2
     state: restarted
+  tags: actualizer
 #+END_SRC
 
 ** Create MythTV Storage Area
index 927f9e4d3a0ba9cd00b484118fed3ddbd3bc4f4c..06df4cde6b9409e92ed78f9d6eab7af32ca1fae9 100644 (file)
@@ -3,3 +3,4 @@
   systemd:
     service: nagios-nrpe-server
     state: reloaded
+  tags: actualizer
index 576d5189e671e5bde69768d4821247b7bcf503b9..0401ac903c626b4084ee5a4c1671e0ff95030042 100644 (file)
@@ -2,25 +2,30 @@
 - name: New aliases.
   become: yes
   command: newaliases
+  tags: actualizer
 
 - name: Restart git daemon.
   become: yes
   command: systemctl restart git-daemon
+  tags: actualizer
 
 - name: Restart Apache2.
   become: yes
   systemd:
     service: apache2
     state: restarted
+  tags: actualizer
 
 - name: Reload NAGIOS4.
   become: yes
   systemd:
     service: nagios4
     state: reloaded
+  tags: actualizer
 
 - name: Restart Munin.
   become: yes
   systemd:
     service: munin
     state: restarted
+  tags: actualizer
index 66dd54eec4fb2442670a9f4c306f90c9d24571a3..7bb74e36eaccb02819090112f6030f98939d07a4 100644 (file)
     dest: /etc/systemd/system/AgentDVR.service
   when: agentdvr.stat.exists
 
-- name: Enable/Start AgentDVR.service.
+- name: Start AgentDVR.service.
   become: yes
   systemd:
     service: AgentDVR
-    enabled: yes
     state: started
   when: agentdvr.stat.exists
+  tags: actualizer
+
+- name: Enable AgentDVR.service.
+  become: yes
+  systemd:
+    service: AgentDVR
+    enabled: yes
+  when: agentdvr.stat.exists
 
 - name: Create /DVR/AgentDVR/.
   become: yes
index 0955bd07a3f491a3ad2774042c72b8716baad2b1..f866abe9d1d669e39c1a4e5e2606b7bdb44b4bf3 100644 (file)
@@ -2,21 +2,25 @@
 - name: New aliases.
   become: yes
   command: newaliases
+  tags: actualizer
 
 - name: Restart git daemon.
   become: yes
   command: systemctl restart git-daemon
+  tags: actualizer
 
 - name: Restart Apache2.
   become: yes
   systemd:
     service: apache2
     state: restarted
+  tags: actualizer
 
 - name: Reload systemd.
   become: yes
   systemd:
     daemon_reload: yes
+  tags: actualizer
 
 - name: Import root@core's public key.
   become: yes
index 7dcbae3e1a39f51ae7c41922b5f5be4a20c739f5..2c8181a821c861508fa9b4758ccbac6ff0078a3b 100644 (file)
@@ -1,10 +1,7 @@
 ---
-- name: Reload Systemd.
-  become: yes
-  command: systemctl daemon-reload
-
 - name: Restart Apache2.
   become: yes
   systemd:
     service: apache2
     state: restarted
+  tags: actualizer