Fix: Install tmuxinator with aur

This commit is contained in:
Bertrand Benjamin 2019-05-11 18:09:03 +02:00
parent f6d86144dd
commit f8164a1e6d
3 changed files with 31 additions and 25 deletions

View File

@ -80,5 +80,3 @@
become: yes become: yes
become_user: aur_builder become_user: aur_builder

View File

@ -1,12 +1,4 @@
--- ---
- 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
with_items: "{{ me }}"
- name: Copy tmux.conf - name: Copy tmux.conf
template: template:
src: files/dotfiles/tmux.conf src: files/dotfiles/tmux.conf
@ -15,21 +7,6 @@
group: "{{ item.username }}" group: "{{ item.username }}"
with_items: "{{ me }}" with_items: "{{ me }}"
- name: Install tmuxinator
gem:
name: tmuxinator
state: latest
when: not minimal and not server
- name: Copy .tmuxinator/
copy:
src: files/dotfiles/tmuxinator/
dest: /home/{{ item.username }}/.tmuxinator/
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
when: not minimal and not server
- name: Download antibody - name: Download antibody
get_url: get_url:
url: https://raw.githubusercontent.com/getantibody/installer/master/install url: https://raw.githubusercontent.com/getantibody/installer/master/install

View File

@ -6,6 +6,37 @@
with_items: "{{ me }}" with_items: "{{ me }}"
when: not minimal when: not minimal
- 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
with_items: "{{ me }}"
- name: Install tmuxinator
aur:
name: tmuxinator
use: makepkg
skip_installed: true
become: yes
become_user: aur_builder
when: ansible_distribution != 'Debian'
# gem:
# name: tmuxinator
# state: latest
# when: not minimal and not server
- name: Copy .tmuxinator/
copy:
src: files/dotfiles/tmuxinator/
dest: /home/{{ item.username }}/.tmuxinator/
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
when: ansible_distribution != 'Debian'
- name: Install mocp (Archlinux) - name: Install mocp (Archlinux)
pacman: pacman:
name: name: