ansible/roles/base/tasks/main.yml

68 lines
1.1 KiB
YAML
Raw Normal View History

2023-04-11 02:55:24 +00:00
- name: set up keyboard controls
become: true
ansible.builtin.copy:
dest: /etc/default/keyboard
owner: root
group: root
mode: 0644
content: |
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
# managed by ansible
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS="ctrl:swapcaps,compose:ralt"
BACKSPACE="guess"
- name: set up common tools
become: true
ansible.builtin.apt: name={{ item }} state=present
with_items:
- acpitool
- curl
- emacs
- htop
- iftop
- iotop
- imagemagick
- keychain
- mg
- pandoc
- par
- powertop
- pwgen
- ranger
- rlwrap
- rsync
- silversearcher-ag
- sudo
- tcpdump
- time
- tmux
- tree
- unzip
- vim-gtk
- zsh
- name: set up desktop environments
become: true
ansible.builtin.apt: name={{ item }} state=present
with_items:
- i3
- i3lock
- name: set up xprogs
become: true
ansible.builtin.apt: name={{ item }} state=present
with_items:
- arandr
- evince
- feh
- firefox
- gparted
- scrot
- vlc