From f8164a1e6d4cc261f663720609faddf4ab5d0ca2 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 11 May 2019 18:09:03 +0200 Subject: [PATCH] Fix: Install tmuxinator with aur --- tasks/arch_graphicals.yml | 2 -- tasks/dotfiles.yml | 23 ----------------------- tasks/dotfiles_desktop.yml | 31 +++++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 25 deletions(-) diff --git a/tasks/arch_graphicals.yml b/tasks/arch_graphicals.yml index 794aa03..91441ca 100644 --- a/tasks/arch_graphicals.yml +++ b/tasks/arch_graphicals.yml @@ -80,5 +80,3 @@ become: yes become_user: aur_builder - - diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index d773a8f..578f6cd 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -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 template: src: files/dotfiles/tmux.conf @@ -15,21 +7,6 @@ group: "{{ item.username }}" 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 get_url: url: https://raw.githubusercontent.com/getantibody/installer/master/install diff --git a/tasks/dotfiles_desktop.yml b/tasks/dotfiles_desktop.yml index f4ece52..819c1be 100644 --- a/tasks/dotfiles_desktop.yml +++ b/tasks/dotfiles_desktop.yml @@ -6,6 +6,37 @@ with_items: "{{ me }}" 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) pacman: name: