@@ -1,4 +1,9 @@
#!/bin/bash
ansible-playbook --ask-become-pass dotfiles.yml -i hosts \
TAGS=''
if [ ! -z $1 ]; then
TAGS="--tags=$1"
fi
ansible-playbook --ask-become-pass dotfiles.yml -i hosts $TAGS \
|| sudo ansible-galaxy install -r requirements.txt --ignore-errors
The note is not visible to the blocked user.