Keep a log of roles played so as to be able to update them (to implement later)

This commit is contained in:
flyingscorpio@clevo 2022-03-06 22:56:54 +01:00
parent 349996316b
commit 6bc368d99f
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View file

@ -7,3 +7,4 @@ secrets
repos.yml
rsync_backup_excludes
.talismanrc
.roles_played

View file

@ -1,2 +1,4 @@
%:
ansible-playbook playbook.yml --ask-become-pass -t $@ --vault-password-file=get-vault-password.sh
echo $@ >> .roles_played
@cat .roles_played | sort | uniq > temp && mv temp .roles_played