Ansible_workstation/README.md

41 lines
1.2 KiB
Markdown
Raw Normal View History

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
# 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
Depuis peu, il y a un bug entre pacman et ansible:
2018-10-04 14:38:39 +00:00
LC_ALL=C ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git --vault-id @prompt Choux.yml
2018-10-04 14:38:39 +00:00
2020-03-14 08:29:16 +00:00
Il y a un soucis avec le rôle users. Si on le joue plusieurs fois, ils n'apparaissent plus dans GDM. Donc au premier lancement, il faut ajouter
--extra-vars "create_user=True"
### On Debian
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-10-03 14:59:55 +00:00
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