aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-03-12 17:24:44 +0000
committerNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-03-12 17:24:44 +0000
commit1fe0c3b4f6c5e516da53d41d55c25580a67bde4e (patch)
treee1a414a0509b0a2a5b575f07db6678a5b695c283 /Makefile
parent4943a78c8cb5c0da67f4fa6eb623ed04e6c7acdc (diff)
Fixed user key and added password optionHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fefafa3..0c6d10e 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,10 @@ ifdef LIMIT
endif
ifndef INVENTORY
- ARGS += -i inventory
-else
- ARGS += -i $(INVENTORY)
+ INVENTORY = inventory
endif
-all: inventory playbook.yml
+ARGS += -i $(INVENTORY)
+
+all: $(INVENTORY) playbook.yml
ansible-playbook playbook.yml $(ARGS)