Explorar o código

Inventory can now be set via environment var and falls back to production systems by default

Till Klocke %!s(int64=9) %!d(string=hai) anos
pai
achega
4b5802b32d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Makefile

+ 3 - 1
Makefile

@@ -1,4 +1,6 @@
-ANSIBLE=ansible-playbook -i inventories/dortmund
+INVENTORY?=dortmund
+
+ANSIBLE=ansible-playbook -i inventories/$(INVENTORY)
 
 .PHONY: setup test update manage-users check-playbooks