From 4c5207339421379f79b40d28ee132f0daf6ae619 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Wed, 9 Sep 2026 21:12:42 +0100 Subject: Add install task to Makefile In ~/.ansible.cfg, I include /usr/local/share/ansible/roles in roles_path so that playbooks can find roles from there. Add the corresponding install tasks to the Makefile. --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b5c97a8..6e84119 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,18 @@ # # SPDX-License-Identifier: AGPL-3.0-or-later -.PHONY: lint +.PHONY: all lint install + +INSTALL_DIR = /usr/local/share/ansible/roles/bootstrap + +all: + make lint + sudo make install lint: precious --ascii lint --all + +install: + rm -rf $(INSTALL_DIR) + mkdir -p $(INSTALL_DIR) + cp -r defaults files handlers tasks templates $(INSTALL_DIR) -- cgit v1.2.3