toansible: Add terminator installation

This commit is contained in:
flyingscorpio@clevo 2022-02-22 09:57:19 +01:00
parent aab1171375
commit 7ced039f7f
5 changed files with 22 additions and 10 deletions

View file

@ -24,16 +24,6 @@ grub:
sudo sed -i -E 's/^#?GRUB_DISABLE_SUBMENU.+/GRUB_DISABLE_SUBMENU=y/' /etc/default/grub &&
sudo grub-mkconfig -o /boot/grub/grub.cfg
terminator:
- install:
- terminator
- symlink:
- dotfiles/terminator/config
- ~/.config/terminator/config
- symlink:
- dotfiles/terminator/profiles
- ~/.config/terminator/profiles
kitty:
- install:
- kitty

View file

@ -3,6 +3,7 @@
- hosts: localhost
roles:
- base
- terminator
- neovim
- ssh-agent
- pacman.conf

View file

@ -0,0 +1,21 @@
---
- name: Install terminator (Archlinux)
become: true
pacman:
name:
- terminator
when: ansible_distribution == 'Archlinux'
- name: Install terminator (Debian)
become: true
apt:
name:
- terminator
when: ansible_distribution == 'Debian'
- name: Copy terminator config
copy: src={{ item.src }} dest={{ item.dest }}
with_items:
- { src: 'config', dest: '~/.config/terminator/config' }
- { src: 'profiles', dest: '~/.config/terminator/profiles' }