Move scripts to subdir
This commit is contained in:
parent
a57e87d21f
commit
b13e31d9f8
@ -30,5 +30,5 @@ repos:
|
||||
- id: variable-sample
|
||||
name: generate variable sample file
|
||||
language: system
|
||||
entry: bash -c 'venv/bin/python nomad_vars.py print > ./ansible_playbooks/vars/nomad_vars.sample.yml'
|
||||
entry: bash -c 'venv/bin/python scripts/nomad_vars.py print > ./ansible_playbooks/vars/nomad_vars.sample.yml'
|
||||
types: [file]
|
||||
|
2
Makefile
2
Makefile
@ -62,7 +62,7 @@ ansible-cluster: $(VENV) ansible_galaxy
|
||||
bootstrap-values: $(VENV)
|
||||
env NOMAD_ADDR=http://192.168.2.101:4646 \
|
||||
NOMAD_TOKEN=$(shell jq -r .SecretID nomad_bootstrap.json) \
|
||||
$(VENV)/bin/python ./nomad_vars.py
|
||||
$(VENV)/bin/python ./scripts/nomad_vars.py
|
||||
|
||||
.PHONY: recover-nomad
|
||||
recover-nomad: $(VENV)
|
||||
|
Loading…
Reference in New Issue
Block a user