From 6bc368d99f51903a5d2fce696058474afa7066ca Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Sun, 6 Mar 2022 22:56:54 +0100 Subject: [PATCH] Keep a log of roles played so as to be able to update them (to implement later) --- .gitignore | 1 + Makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index c854fc5..4519f72 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ secrets repos.yml rsync_backup_excludes .talismanrc +.roles_played diff --git a/Makefile b/Makefile index dbd843a..e90b7d5 100644 --- a/Makefile +++ b/Makefile @@ -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