setup-cockpit/Makefile
2023-08-15 14:35:23 +02:00

12 lines
359 B
Makefile

previous_tags=$(shell cat .roles_played | tr '\n' ',')
%:
ansible-playbook everything.yml --ask-become-pass -t $@
@echo $@ | grep -v all >> .roles_played
@cat .roles_played | sort | uniq > temp && mv temp .roles_played
previous:
ansible-playbook everything.yml --ask-become-pass -t '${previous_tags}'
work:
ansible-playbook work.yml --ask-become-pass