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
|
|
|
|
2020-01-02 18:16:25 +00:00
|
|
|
Depuis peu, il y a un bug entre pacman et ansible:
|
2018-10-04 14:38:39 +00:00
|
|
|
|
2020-01-02 18:16:25 +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"
|
|
|
|
|
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
|
|
|
|
|
|
|
|
## By hand for Bilimbi
|
|
|
|
|
|
|
|
- Install vim plugin
|