Add office computer
This commit is contained in:
parent
c8397580ec
commit
d065fa6207
4 changed files with 21 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd ~/.dotfiles/config/automatrop
|
||||
ansible-playbook --diff playbooks/default.yml --limit $HOSTNAME --connection local "$@"
|
||||
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 "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue