diff options
author | Matthew Fennell <matthew@fennell.dev> | 2024-01-07 11:39:27 +0000 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2024-01-07 11:39:27 +0000 |
commit | 8093a955e3c6238cc14537a54c56277af6b89dc2 (patch) | |
tree | b827d8fa567d49d7d30054e42848c7313f4550e4 /Makefile | |
parent | 4d935d6ed70cc953fe53c56ab195dd1c6c4db6e3 (diff) |
Add initial playbook
At present, the playbook simply ensures that all required packages are
installed.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
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 <matthew@fennell.dev> +# +# 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 |