fixed ip variables, now using inventory vars
This commit is contained in:
4
Makefile
4
Makefile
@@ -16,6 +16,7 @@ DEPLOY_COMMAND = ansible-playbook deploy.yaml $(OPTIONS)
|
||||
CLEAN_COMMAND = ansible-playbook cleanup.yaml $(OPTIONS)
|
||||
HOSTS_COMMAND = ansible-playbook knownhosts.yaml $(OPTIONS)
|
||||
DEBUG_COMMAND = ansible-playbook debug.yaml $(OPTIONS)
|
||||
SHOW_COMMAND = ansible-inventory -i inventory/hosts.hcloud.yaml --list
|
||||
|
||||
ENV = HCLOUD_TOKEN="$(TOKEN)" SNAPSHOT="$(SNAPSHOT)" ANSIBLE_VERBOSITY=$(verbose)
|
||||
|
||||
@@ -49,3 +50,6 @@ editvars:
|
||||
|
||||
showvars:
|
||||
ansible-vault decrypt $(VARS) --output -
|
||||
|
||||
showinventory:
|
||||
$(ENV) $(SHOW_COMMAND)
|
||||
|
||||
Reference in New Issue
Block a user