You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bertrand Benjamin ce2f3b872e Fix: remove copy .zshrc but fix zsh directory 2 months ago
files Feat: move to lsp and neovim0.5 2 months ago
tasks Fix: remove copy .zshrc but fix zsh directory 2 months ago
vars feat: change prompt to zsh for Choux 3 months ago
BV_boutique.yml Feat: adapt BV to new user management 10 months ago
Choux.yml Feat: remove autofs to choux 11 months ago
Combava.yml Fix: disable users task for Combava 1 year ago
Panais.yml Feat: new host Panais! 1 year ago
Poivre.yml Feat: reactivate users 1 year ago Feat: rewrite note on issue with terminal 1 year ago
abertrand.yml Feat: add abertrand 8 months ago
rpi3.yml Feat: change rpi prompt 2 years ago

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 ~/.ansible/plugins/modules/aur
ansible-pull -U Choux.yml

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

LC_ALL=C ansible-pull -U --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 > "$" && tic -x "$"'

By hand for Choux

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