2019-03-14 21:34:29 +00:00
|
|
|
- name: "Install input packages"
|
|
|
|
aur:
|
|
|
|
skip_installed: true
|
|
|
|
name: "{{ item }}"
|
|
|
|
become: true
|
|
|
|
become_user: aur_builder
|
|
|
|
when: "item not in installed_packages.stdout_lines"
|
|
|
|
with_items:
|
|
|
|
- 'advanced-ssh-config'
|
|
|
|
- 'alacritty'
|
|
|
|
- 'bat'
|
|
|
|
- 'catimg'
|
|
|
|
- 'climate'
|
|
|
|
- 'exa'
|
|
|
|
- 'fasd'
|
|
|
|
- 'fd'
|
|
|
|
- 'htop'
|
|
|
|
- 'jshon'
|
|
|
|
- 'nnn'
|
|
|
|
- 'oh-my-zsh-git'
|
|
|
|
- 'perl-file-mimeinfo'
|
|
|
|
- 'pigz'
|
|
|
|
- 'playerctl'
|
|
|
|
- 'reptyr'
|
|
|
|
- 'ripgrep'
|
|
|
|
- 'scrcpy'
|
|
|
|
- 'screenfetch'
|
|
|
|
- 'sl'
|
|
|
|
- 'terminator'
|
|
|
|
- 'thefuck'
|
|
|
|
- 'tmux'
|
2019-05-12 11:49:20 +01:00
|
|
|
- 'ruby-tmuxinator'
|
2019-03-14 21:34:29 +00:00
|
|
|
- 'zsh'
|
|
|
|
- 'zsh-completions'
|
|
|
|
- 'zsh-doc'
|
|
|
|
- 'zsh-syntax-highlighting'
|
|
|
|
|
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install ZSH config
|
|
|
|
template:
|
2018-09-10 20:08:35 +01:00
|
|
|
src: ./files/zshrc/.zshrc
|
2018-09-17 17:22:15 +01:00
|
|
|
dest: "{{ home }}/.zshrc"
|
2018-09-10 20:08:35 +01:00
|
|
|
mode: 0644
|
2018-09-17 17:22:15 +01:00
|
|
|
owner: "{{ user }}"
|
2018-09-14 09:00:06 +01:00
|
|
|
validate: "zsh -n %s"
|
2018-09-18 13:19:31 +01:00
|
|
|
backup: true
|
|
|
|
trim_blocks: false
|
2018-09-10 20:08:35 +01:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install global environmetn variables
|
|
|
|
template:
|
2018-09-10 20:08:35 +01:00
|
|
|
src: ./files/global-environment
|
|
|
|
dest: /etc/environment
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install tmux config
|
|
|
|
template:
|
2018-09-10 20:08:35 +01:00
|
|
|
src: ./files/tmux.conf
|
2018-09-17 17:22:15 +01:00
|
|
|
dest: "{{ home }}/.tmux.conf"
|
2018-09-10 20:08:35 +01:00
|
|
|
mode: 0755
|
2018-09-17 17:22:15 +01:00
|
|
|
owner: "{{ user }}"
|
2018-09-10 20:08:35 +01:00
|
|
|
group: users
|
2018-12-03 22:00:17 +00:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install tmux themepack
|
|
|
|
git:
|
2019-03-13 21:04:34 +00:00
|
|
|
repo: https://github.com/jimeh/tmux-themepack.git
|
2018-12-03 22:00:17 +00:00
|
|
|
dest: "{{ home }}/.tmux/plugins/tmux-themepack"
|
|
|
|
force: true
|
|
|
|
become: true
|
|
|
|
become_user: "{{ user }}"
|
2019-03-14 21:34:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: "Create alacritty config directory"
|
|
|
|
file:
|
|
|
|
path: '{{ home }}/.config/alacritty/'
|
|
|
|
state: directory
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: "Create alacritty config"
|
|
|
|
copy:
|
|
|
|
src: './files/alacritty.yml'
|
|
|
|
dest: '{{ home }}/.config/alacritty/alacritty.yml'
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Create terminator directory"
|
|
|
|
file:
|
|
|
|
path: '{{ home }}/.config/terminator/'
|
|
|
|
state: directory
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: "Create alacritty config"
|
|
|
|
copy:
|
|
|
|
src: './files/terminator.conf'
|
|
|
|
dest: '{{ home }}/.config/terminator/config'
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
2019-05-12 11:49:20 +01:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install tmuxinator config
|
|
|
|
copy:
|
2019-05-12 11:49:20 +01:00
|
|
|
src: ./files/tmuxinator
|
|
|
|
dest: "{{ home }}/.config/tmuxinator"
|
|
|
|
mode: 0755
|
|
|
|
owner: "{{ user }}"
|
|
|
|
group: users
|
|
|
|
directory_mode: true
|
2019-05-24 22:44:10 +01:00
|
|
|
|
|
|
|
- name: Set vconsole keyboard
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/vconsole.conf
|
|
|
|
state: present
|
|
|
|
regexp: '^KEYMAP='
|
|
|
|
line: 'KEYMAP=uk'
|