Punt loading many variables when only running accounts tasks.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sun, 23 Nov 2025 19:13:12 +0000 (12:13 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Sun, 23 Nov 2025 19:13:12 +0000 (12:13 -0700)
The All role has no such tasks.  The Front role just needs ~usernames~
and ~members~.  The Core role just needs these as well, except that
generating/checking fetchmail configs requires ~front_wg_addr~ and
~domain_name~.  The Gate role just updates/checks Gate's WireGuard™
config file, and the Campus role has /no/ accounts tasks: 1 tagged
task, 0 variables used.

README.org
roles_t/all/tasks/main.yml
roles_t/front/tasks/main.yml
roles_t/gate/tasks/main.yml

index f814c405ca18aae1c577f260b86b5b9e1179683d..e1b2fb838db546e221e012ecba8dbe155170bc2a 100644 (file)
@@ -1231,7 +1231,6 @@ Particulars]]).  The code block below is the first to tangle into
 ---
 - name: Include public variables.
   include_vars: ../public/vars.yml
-  tags: accounts
 #+END_SRC
 
 ** Enable Systemd Resolved
@@ -1374,11 +1373,9 @@ membership roll, so these are included was well.
 ---
 - name: Include public variables.
   include_vars: ../public/vars.yml
-  tags: accounts
 
 - name: Include private variables.
   include_vars: ../private/vars.yml
-  tags: accounts
 
 - name: Include members.
   include_vars: "{{ lookup('first_found', membership_rolls) }}"
@@ -4813,14 +4810,9 @@ The following should be familiar boilerplate by now.
 ---
 - name: Include public variables.
   include_vars: ../public/vars.yml
-  tags: accounts
 
 - name: Include private variables.
   include_vars: ../private/vars.yml
-  tags: accounts
-- name: Include members.
-  include_vars: "{{ lookup('first_found', membership_rolls) }}"
-  tags: accounts
 #+END_SRC
 
 ** Configure Gate NetworkD
index be4f3a997e0985e8d310f12f8847c283e34219d9..5c26190792bf97c2ffcf3d19c3d8045bc73dbb97 100644 (file)
@@ -1,7 +1,6 @@
 ---
 - name: Include public variables.
   include_vars: ../public/vars.yml
-  tags: accounts
 
 - name: Install systemd-resolved.
   become: yes
index eb564b4437ea30259f3443d25d1732a837a59b76..5c73f967c63955709196763849ccaaf63715e0cd 100644 (file)
@@ -1,11 +1,9 @@
 ---
 - name: Include public variables.
   include_vars: ../public/vars.yml
-  tags: accounts
 
 - name: Include private variables.
   include_vars: ../private/vars.yml
-  tags: accounts
 
 - name: Include members.
   include_vars: "{{ lookup('first_found', membership_rolls) }}"
index 443e46a1e5196634d9a8858f0b7dd25b5196efec..115e1c1d6b02ec8170c4dfa01f1ae1ca57347c30 100644 (file)
@@ -1,14 +1,9 @@
 ---
 - name: Include public variables.
   include_vars: ../public/vars.yml
-  tags: accounts
 
 - name: Include private variables.
   include_vars: ../private/vars.yml
-  tags: accounts
-- name: Include members.
-  include_vars: "{{ lookup('first_found', membership_rolls) }}"
-  tags: accounts
 
 - name: Install 10-lan.link.
   become: yes