2018-08-23 11:53:13 +00:00
|
|
|
# Ansible workstation
|
|
|
|
|
|
|
|
Ansible script to deploy my workstation with a ansible-pull.
|
|
|
|
|
2018-08-28 05:58:42 +00:00
|
|
|
|
2018-08-23 15:48:14 +00:00
|
|
|
## Automatic install
|
|
|
|
|
2018-08-28 05:58:42 +00:00
|
|
|
Before call ansible-pull, git and ansible are required
|
|
|
|
|
|
|
|
apt-get install git ansible
|
|
|
|
pacman install git ansible
|
|
|
|
|
2018-08-23 11:53:13 +00:00
|
|
|
Installing Choux
|
|
|
|
|
2018-11-07 10:37:28 +00:00
|
|
|
# Need aur module for some tasks
|
|
|
|
git clone https://github.com/kewlfft/ansible-aur.git ~/.ansible/plugins/modules/aur
|
2018-08-28 05:58:42 +00:00
|
|
|
ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git Choux.yml
|
2018-08-23 15:48:14 +00:00
|
|
|
|
2018-10-04 14:38:39 +00:00
|
|
|
Installing Songe
|
|
|
|
|
|
|
|
ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git Songe.yml
|
|
|
|
|
2018-10-03 14:59:55 +00:00
|
|
|
Installing Bilimbi
|
|
|
|
|
|
|
|
ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git Bilimbi.yml
|
|
|
|
|
2018-11-10 17:23:32 +00:00
|
|
|
Installing Manioc
|
|
|
|
|
|
|
|
ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git Manioc.yml
|
|
|
|
|
|
|
|
|
2018-10-03 14:59:55 +00:00
|
|
|
After running the script, there is a bug with $TERM which makes BACKSPACE and TAB to have strange behavior. To solve it, from an other computer run:
|
|
|
|
|
|
|
|
infocmp -x | ssh -t root@remote-host 'cat > "$TERM.info" && tic -x "$TERM.info"'
|
|
|
|
|
2018-08-28 05:58:42 +00:00
|
|
|
## By hand for Choux
|
2018-08-23 15:48:14 +00:00
|
|
|
|
|
|
|
- Install vim plugin
|
|
|
|
- Copy PrivateKeys
|
2018-08-28 05:58:42 +00:00
|
|
|
- Copy PGP keys
|
|
|
|
- Clone password-store repository to .password-store
|
|
|
|
|
|
|
|
## By hand for Bilimbi
|
|
|
|
|
|
|
|
- Install vim plugin
|