toansible: Add terminator installation
This commit is contained in:
parent
aab1171375
commit
7ced039f7f
5 changed files with 22 additions and 10 deletions
10
configs.yml
10
configs.yml
|
@ -24,16 +24,6 @@ grub:
|
||||||
sudo sed -i -E 's/^#?GRUB_DISABLE_SUBMENU.+/GRUB_DISABLE_SUBMENU=y/' /etc/default/grub &&
|
sudo sed -i -E 's/^#?GRUB_DISABLE_SUBMENU.+/GRUB_DISABLE_SUBMENU=y/' /etc/default/grub &&
|
||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
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:
|
kitty:
|
||||||
- install:
|
- install:
|
||||||
- kitty
|
- kitty
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
|
- terminator
|
||||||
- neovim
|
- neovim
|
||||||
- ssh-agent
|
- ssh-agent
|
||||||
- pacman.conf
|
- pacman.conf
|
||||||
|
|
21
roles/terminator/tasks/main.yml
Normal file
21
roles/terminator/tasks/main.yml
Normal 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' }
|
Loading…
Add table
Reference in a new issue