2021-06-16 22:54:51 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
cd ~/.dotfiles/config/automatrop
|
2021-12-02 10:44:49 +01:00
|
|
|
if [ -f ~/.config/automatrop/self_name ]
|
|
|
|
then
|
|
|
|
hostname=$(cat ~/.config/automatrop/self_name)
|
|
|
|
else
|
|
|
|
hostname="$HOSTNAME"
|
|
|
|
fi
|
|
|
|
ansible-playbook --diff playbooks/default.yml --limit $hostname --connection local "$@"
|