From 8093a955e3c6238cc14537a54c56277af6b89dc2 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 7 Jan 2024 11:39:27 +0000 Subject: Add initial playbook At present, the playbook simply ensures that all required packages are installed. --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1b9b4dd --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +# SPDX-FileCopyrightText: 2024 Matthew Fennell +# +# SPDX-License-Identifier: AGPL-3.0-only + +.PHONY: check lint staging prod + +check: + make lint + make staging + +staging: + ansible-playbook --inventory inventory/staging.ini playbook.yaml + +prod: + ansible-playbook --inventory inventory/prod.ini playbook.yaml + +lint: + precious --ascii lint --all -- cgit v1.2.3