Add office computer
This commit is contained in:
parent
c8397580ec
commit
d065fa6207
1
config/automatrop/.gitignore
vendored
Normal file
1
config/automatrop/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
self_hostname
|
12
config/automatrop/host_vars/gho.geoffrey.frogeye.fr
Normal file
12
config/automatrop/host_vars/gho.geoffrey.frogeye.fr
Normal file
|
@ -0,0 +1,12 @@
|
|||
root_access: no
|
||||
display_server: "x11"
|
||||
dev_stuffs:
|
||||
- shell
|
||||
- network
|
||||
- ansible
|
||||
- python
|
||||
extensions:
|
||||
- gh
|
||||
x11_screens:
|
||||
- HDMI-1
|
||||
- HDMI-2
|
|
@ -1,3 +1,4 @@
|
|||
curacao.geoffrey.frogeye.fr
|
||||
# triffle.geoffrey.frogeye.fr
|
||||
pindakaas.geoffrey.frogeye.fr
|
||||
gho.geoffrey.frogeye.fr ansible_host=localhost ansible_port=2222
|
||||
|
|
|
@ -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…
Reference in a new issue