Add default "all" target
This commit is contained in:
4
Makefile
4
Makefile
@@ -5,6 +5,10 @@ pip = pip
|
|||||||
ansible = venv/bin/ansible-playbook
|
ansible = venv/bin/ansible-playbook
|
||||||
ansible_run = $(activate) && ansible-playbook -e ansible_python_interpreter=/usr/bin/python3 --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
|
ansible_run = $(activate) && ansible-playbook -e ansible_python_interpreter=/usr/bin/python3 --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: | venv $(ansible)
|
||||||
|
$(ansible_run)
|
||||||
|
|
||||||
.PHONY: config
|
.PHONY: config
|
||||||
config: | venv $(ansible)
|
config: | venv $(ansible)
|
||||||
$(ansible_run) --skip-tags system-update
|
$(ansible_run) --skip-tags system-update
|
||||||
|
|||||||
Reference in New Issue
Block a user