Skip to content

Commit 824b409

Browse files
committed
Switching CapsLock and Escape
1 parent 6e205c1 commit 824b409

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

playbook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
hosts: localhost
44
connection: local
55
roles:
6+
- settings
67
- cli_tools
78
- docker
89
- git

roles/settings/tasks/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
- name: Setup System Settings
3+
become: true
4+
block:
5+
- name: Switch Capslock and Escape
6+
ansible.builtin.lineinfile:
7+
path: "/etc/default/keyboard"
8+
search_string: "XKBOPTIONS"
9+
line: "XKBOPTIONS=caps:swapescape"
10+
state: "present"

0 commit comments

Comments
 (0)