Go to file
Bertrand Benjamin 1796e187bc Fix: syntax 2020-07-16 16:53:35 +02:00
files Merge remote-tracking branch 'origin/master' 2020-06-23 10:24:16 +02:00
tasks Feat: change user creation for Panais and Combava 2020-07-16 16:47:04 +02:00
vars Fix: syntax 2020-07-16 16:53:35 +02:00
BV_boutique.yml Fix: double yml 2020-02-24 06:59:32 +01:00
Bilimbi.yml Feat: adapt servers to it 2020-01-02 20:01:00 +01:00
Choux.yml Feat: activate docker for Choux 2020-03-22 08:47:44 +01:00
Combava.yml Fix: disable users task for Combava 2020-01-29 17:55:24 +01:00
Manioc.yml Feat: adapt servers to it 2020-01-02 20:01:00 +01:00
Panais.yml Feat: new host Panais! 2020-03-17 06:07:10 +01:00
Poivre.yml Feat: reactivate users 2020-03-17 05:21:16 +01:00
README.md Feat: rewrite note on issue with terminal 2020-03-17 08:48:56 +01:00
Songe.yml Feat(Songe): mod ssh connectin policy between every body 2018-12-11 18:40:49 +01:00
rpi3.yml Feat: change rpi prompt 2019-02-08 08:28:22 +01:00

README.md

Ansible workstation

Ansible script to deploy my workstation with a ansible-pull.

Automatic install

Before call ansible-pull, git and ansible are required

apt-get install git ansible
pacman install git ansible

Installing Choux

# Need aur module for some tasks
git clone https://github.com/kewlfft/ansible-aur.git ~/.ansible/plugins/modules/aur
ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git Choux.yml

Depuis peu, il y a un bug entre pacman et ansible:

LC_ALL=C ansible-pull -U https://git.opytex.org/lafrite/Ansible_workstation.git --vault-id @prompt Choux.yml

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"'

By hand for Choux

  • Install vim plugin
  • Copy PrivateKeys
  • Copy PGP keys
  • Clone password-store repository to .password-store