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