add keyboard task

This commit is contained in:
Grégory Lebreton 2026-01-23 10:51:49 +01:00
parent a69729854e
commit f52725295f
4 changed files with 28 additions and 1 deletions

View File

@ -36,13 +36,14 @@ ansible-playbook playbooks/install.yml --ask-become-pass --tags ollama
- [x] dns
- [x] base_tools
- [x] firefox (debug ublock origin installed but ineffective) !!!
- [ ] cp keyboard file
- [ ] apps:
- [ ] freetube
- [ ] element
- [ ] vscodium
- [ ] gnome
- [ ]
- [ ] libreoffice (debug .config/libreoffice inexistent -> need first launch)
- [ ] libreoffice (debug .config/libreoffice inexistent -> need mkdir first)
## To test

View File

@ -0,0 +1,10 @@
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT="latin9"
XKBOPTIONS=""
BACKSPACE="guess"

View File

@ -0,0 +1,15 @@
---
- name: Installer la configuration clavier
ansible.builtin.copy:
src: files/keyboard
dest: /etc/default/keyboard
owner: root
group: root
mode: "0644"
- name: Définir LANG=fr_FR.UTF-8 dans /etc/default/locale
ansible.builtin.lineinfile:
path: /etc/default/locale
line: "LANG=fr_FR.UTF-8"
create: true
state: present

View File

@ -1,4 +1,5 @@
---
- import_tasks: keyboard.yml
- import_tasks: apt.yml
- import_tasks: base_tools.yml
- import_tasks: dns.yml