2018-08-23 12:32:42 +00:00
|
|
|
---
|
2018-08-23 14:15:52 +00:00
|
|
|
- name: Copy urxvt Xdefault
|
2018-08-23 12:32:42 +00:00
|
|
|
template:
|
|
|
|
src: files/Xdefaults
|
2018-08-23 12:39:58 +00:00
|
|
|
dest: /home/{{ item.username }}/.Xdefaults
|
2018-08-23 12:45:01 +00:00
|
|
|
with_items: "{{ me }}"
|
2018-08-23 12:38:24 +00:00
|
|
|
when: not minimal
|
2018-08-23 12:32:42 +00:00
|
|
|
|
2018-08-23 13:02:18 +00:00
|
|
|
- name: Install urxvt perls
|
|
|
|
pacman:
|
|
|
|
name: urxvt-perls
|
|
|
|
state: present
|
2018-08-23 12:32:42 +00:00
|
|
|
|
2018-08-23 13:02:18 +00:00
|
|
|
- name: Install urxvt plugins (AUR)
|
|
|
|
aur:
|
2018-08-23 13:07:15 +00:00
|
|
|
name: "{{ item }}"
|
2018-08-23 13:02:18 +00:00
|
|
|
use: makepkg
|
|
|
|
skip_installed: true
|
|
|
|
with_items:
|
|
|
|
- urxvt-fullscreen
|
|
|
|
- urxvt-resize-font-git
|
|
|
|
become: yes
|
|
|
|
become_user: aur_builder
|
2018-08-23 12:32:42 +00:00
|
|
|
|
2018-08-23 14:15:52 +00:00
|
|
|
- name: Clone TPM (tmux plugin manager)
|
|
|
|
git:
|
|
|
|
repo: https://github.com/tmux-plugins/tpm
|
|
|
|
dest: /home/{{ item.username }}/.tmux/plugins/tpm
|
|
|
|
version: master
|
|
|
|
accept_hostkey: yes
|
2018-08-23 14:16:58 +00:00
|
|
|
with_items: "{{ me }}"
|
2018-08-23 14:15:52 +00:00
|
|
|
|
|
|
|
- name: Copy tmux.conf
|
|
|
|
template:
|
|
|
|
src: files/tmux.conf
|
|
|
|
dest: /home/{{ item.username }}/.tmux.conf
|
2018-08-23 14:42:26 +00:00
|
|
|
owner: "{{ item.username }}"
|
2018-08-23 14:15:52 +00:00
|
|
|
with_items: "{{ me }}"
|
|
|
|
|
|
|
|
- name: Install tmuxinator
|
2018-08-23 14:16:26 +00:00
|
|
|
gem:
|
2018-08-23 14:15:52 +00:00
|
|
|
name: tmuxinator
|
|
|
|
state: latest
|
2018-08-23 14:41:22 +00:00
|
|
|
|
2018-08-23 14:45:48 +00:00
|
|
|
- name: Copy .vim/
|
2018-08-23 14:54:27 +00:00
|
|
|
copy:
|
2018-08-23 14:45:48 +00:00
|
|
|
src: files/vim/
|
|
|
|
dest: /home/{{ item.username }}/.vim/
|
|
|
|
owner: "{{ item.username }}"
|
|
|
|
with_items: "{{ me }}"
|
|
|
|
|
2018-08-23 14:54:27 +00:00
|
|
|
- name: Creates .vim/autoload/
|
|
|
|
file:
|
|
|
|
path: /home/{{ item.username }}/.vim/autoload/
|
|
|
|
state: directory
|
|
|
|
with_items: "{{ me }}"
|
|
|
|
|
2018-08-23 14:41:22 +00:00
|
|
|
- name: Download plug.vim
|
|
|
|
get_url:
|
|
|
|
url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
|
|
dest: /home/{{ item.username }}/.vim/autoload/plug.vim
|
2018-08-23 14:42:26 +00:00
|
|
|
owner: "{{ item.username }}"
|
2018-08-23 14:41:22 +00:00
|
|
|
with_items: "{{ me }}"
|
|
|
|
|
|
|
|
- name: Copy vimrc
|
|
|
|
template:
|
|
|
|
src: files/vimrc
|
|
|
|
dest: /home/{{ item.username }}/.vimrc
|
2018-08-23 14:42:26 +00:00
|
|
|
owner: "{{ item.username }}"
|
2018-08-23 14:41:22 +00:00
|
|
|
with_items: "{{ me }}"
|
2018-08-23 14:54:27 +00:00
|
|
|
|
|
|
|
- name: Copy .moc/
|
|
|
|
copy:
|
|
|
|
src: files/moc/
|
|
|
|
dest: /home/{{ item.username }}/.moc/
|
|
|
|
owner: "{{ item.username }}"
|
|
|
|
with_items: "{{ me }}"
|
|
|
|
when: not minimal
|
2018-08-23 15:25:03 +00:00
|
|
|
|
|
|
|
- name: Creates .ssh
|
|
|
|
file:
|
|
|
|
path: /home/{{ item.username }}/.ssh/
|
|
|
|
state: directory
|
|
|
|
with_items: "{{ me }}"
|
|
|
|
|
|
|
|
- name: Copy ssh user config
|
|
|
|
template:
|
|
|
|
src: files/sshconfig
|
|
|
|
dest: /home/{{ item.username }}/.ssh/config
|
|
|
|
owner: "{{ item.username }}"
|
|
|
|
with_items: "{{ me }}"
|
|
|
|
|