summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-09-21 18:47:50 +0100
committerMatthew Fennell <matthew@fennell.dev>2025-09-21 18:47:50 +0100
commit9ea7d4d1634107de74427f9aaaaa4fd5f0b9b35a (patch)
treeeaf9dde215e8a91a620b8b3c7f63f8729bbe3821
parent0f960bbb98cb83559bcd1de890ad34ed688bbf5c (diff)
Add transport make target
This change allows targeted deployments just to transport servers, or deployments to all prod servers (including transport) at once.
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8cdfaca..5d35ce9 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-only
-.PHONY: check staging prod lint staging-fresh prod-fresh
+.PHONY: check staging prod transport lint staging-fresh prod-fresh
check:
make lint
@@ -14,8 +14,12 @@ staging:
--diff
prod:
- ansible-playbook --forks 1 --inventory inventory/prod.ini playbook.yaml \
- --diff
+ ansible-playbook --forks 1 --inventory inventory/prod.ini --inventory \
+ inventory/transport.ini playbook.yaml --diff
+
+transport:
+ ansible-playbook --forks 1 --inventory inventory/transport.ini \
+ playbook.yaml --diff
lint:
precious --ascii lint --all