Bootstrap venv via Makefile
This commit is contained in:
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ ansible = venv/bin/ansible-playbook
|
|||||||
ansible_run = $(activate) && ansible-playbook --inventory localhost, --diff --verbose ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
|
ansible_run = $(activate) && ansible-playbook --inventory localhost, --diff --verbose ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(ansible)
|
all: | venv $(ansible)
|
||||||
$(ansible_run)
|
$(ansible_run)
|
||||||
|
|
||||||
.PHONY: dryrun
|
.PHONY: dryrun
|
||||||
|
|||||||
Reference in New Issue
Block a user