Sfoglia il codice sorgente

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

Till Klocke 9 anni fa
parent
commit
4b5802b32d
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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