summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
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)