Clean up Makefile
This commit is contained in:
25
Makefile
25
Makefile
@@ -1,31 +1,12 @@
|
|||||||
ansible_run = ansible-playbook --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
|
ansible_run = ansible-playbook --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all:
|
|
||||||
$(ansible_run)
|
|
||||||
|
|
||||||
.PHONY: config
|
.PHONY: config
|
||||||
config:
|
config:
|
||||||
$(ansible_run)
|
$(ansible_run)
|
||||||
|
|
||||||
.PHONY: reboot
|
.PHONY: maintenance
|
||||||
reboot:
|
maintenance:
|
||||||
sudo reboot
|
./maintenance.sh
|
||||||
|
|
||||||
.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
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user