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