add keyboard task
This commit is contained in:
parent
a69729854e
commit
f52725295f
@ -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
|
||||
|
||||
|
||||
10
roles/trixie_postinstall/files/keyboard
Normal file
10
roles/trixie_postinstall/files/keyboard
Normal file
@ -0,0 +1,10 @@
|
||||
# KEYBOARD CONFIGURATION FILE
|
||||
|
||||
# Consult the keyboard(5) manual page.
|
||||
|
||||
XKBMODEL="pc105"
|
||||
XKBLAYOUT="fr"
|
||||
XKBVARIANT="latin9"
|
||||
XKBOPTIONS=""
|
||||
|
||||
BACKSPACE="guess"
|
||||
15
roles/trixie_postinstall/tasks/keyboard.yml
Normal file
15
roles/trixie_postinstall/tasks/keyboard.yml
Normal 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
|
||||
@ -1,4 +1,5 @@
|
||||
---
|
||||
- import_tasks: keyboard.yml
|
||||
- import_tasks: apt.yml
|
||||
- import_tasks: base_tools.yml
|
||||
- import_tasks: dns.yml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user