diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2026-09-09 21:12:42 +0100 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2026-09-09 21:17:38 +0100 |
| commit | 4c5207339421379f79b40d28ee132f0daf6ae619 (patch) | |
| tree | 88612ef3b1fd39dcb9c062e729513c185762c5bb /Makefile | |
| parent | fcbf8dfb52bc249450af28a111829d1fc59eac1f (diff) | |
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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) |
