diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2026-09-09 21:48:42 +0100 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2026-09-09 21:50:33 +0100 |
| commit | 25db56f6241ae50feb54232e25f8203c1a450c7c (patch) | |
| tree | 076e0e4dfc7f14f96377fbeebe475e30bafe61e3 | |
| parent | afa36d11a380f924588d67172ecf02275461f386 (diff) | |
Move bootstrap sources to their own subdirectory
Since much of the setup (e.g. linter, hook, Makefile configuration) is
consistent between ansible roles, instead of having a separate repo per role
(as I initially planned), I'd prefer to have a single repo with all of the
roles that the playbooks can then pull from.
This is in preparation of adding a new munin-node role, following a similar
process to bootstrap.
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | bootstrap/defaults/main.yml (renamed from defaults/main.yml) | 0 | ||||
| -rw-r--r-- | bootstrap/files/50-disable-password-auth.conf (renamed from files/50-disable-password-auth.conf) | 0 | ||||
| -rw-r--r-- | bootstrap/files/50unattended-upgrades (renamed from files/50unattended-upgrades) | 0 | ||||
| -rw-r--r-- | bootstrap/handlers/main.yml (renamed from handlers/main.yml) | 0 | ||||
| -rw-r--r-- | bootstrap/tasks/main.yml (renamed from tasks/main.yml) | 0 | ||||
| -rw-r--r-- | bootstrap/templates/hosts.j2 (renamed from templates/hosts.j2) | 0 |
7 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ .PHONY: all lint install -INSTALL_DIR = /usr/local/share/ansible/roles/bootstrap +INSTALL_DIR = /usr/local/share/ansible/roles all: make lint @@ -17,4 +17,4 @@ lint: install: rm -rf $(INSTALL_DIR) mkdir -p $(INSTALL_DIR) - cp -r defaults files handlers tasks templates $(INSTALL_DIR) + cp -r bootstrap $(INSTALL_DIR) diff --git a/defaults/main.yml b/bootstrap/defaults/main.yml index 85a7a6b..85a7a6b 100644 --- a/defaults/main.yml +++ b/bootstrap/defaults/main.yml diff --git a/files/50-disable-password-auth.conf b/bootstrap/files/50-disable-password-auth.conf index 483b8f2..483b8f2 100644 --- a/files/50-disable-password-auth.conf +++ b/bootstrap/files/50-disable-password-auth.conf diff --git a/files/50unattended-upgrades b/bootstrap/files/50unattended-upgrades index ba218a4..ba218a4 100644 --- a/files/50unattended-upgrades +++ b/bootstrap/files/50unattended-upgrades diff --git a/handlers/main.yml b/bootstrap/handlers/main.yml index c9aef1f..c9aef1f 100644 --- a/handlers/main.yml +++ b/bootstrap/handlers/main.yml diff --git a/tasks/main.yml b/bootstrap/tasks/main.yml index 4512804..4512804 100644 --- a/tasks/main.yml +++ b/bootstrap/tasks/main.yml diff --git a/templates/hosts.j2 b/bootstrap/templates/hosts.j2 index 9ef5300..9ef5300 100644 --- a/templates/hosts.j2 +++ b/bootstrap/templates/hosts.j2 |
