ansible_run = ansible-playbook -e ansible_python_interpreter=/usr/bin/python3 --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS} .PHONY: all all: $(ansible_run) .PHONY: config config: $(ansible_run) --skip-tags system-update .PHONY: system-update system-update: $(ansible_run) --tags system-update .PHONY: reboot reboot: sudo reboot .PHONY: poweroff poweroff: sudo poweroff .PHONY: weekend weekend: | update poweroff .PHONY: packages packages: $(ansible_run) --tags packages .PHONY: dotfiles dotfiles: $(ansible_run) --tags dotfiles .PHONY: test test: ./test-in-docker.sh