From 5a499807c3751a105402310ac5ff2322049611b3 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Sun, 17 Dec 2017 01:23:38 +0100 Subject: [PATCH] fixed packages --- install.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/install.yml b/install.yml index d9bd703..e6cbffa 100644 --- a/install.yml +++ b/install.yml @@ -7,6 +7,10 @@ package: name=stow state=present become: True + - name: Install pacaur + shell: creates=/usr/bin/pacaur curl -o /tmp/PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur; makepkg PKGBUILD --install --needed + when: ansible_os_family == "Archlinux" + - name: Install Desktop/Laptop tools (generic) package: name={{item}} state=present with_items: @@ -19,23 +23,22 @@ - xorg-xrdb - xorg-xfd - connman - - connman-gtk - - gnome-ssh-askpass2 become: True tags: - desktop - laptop - name: Install Desktop/Laptop tools (Archlinux) - package: name={{item}} state=present + shell: creates={{item.creates}} pacaur -S --noconfirm {{item.package}} with_items: - - cower + - { package: 'connman-gtk', creates: '/usr/bin/connman-gtk' } + - { package: 'gnome-ssh-askpass2', creates: '/usr/lib/ssh/gnome-ssh-askpass2' } when: ansible_os_family == "Archlinux" tags: - desktop - laptop - - name: Install CLI tools + - name: Install CLI tools (generic) package: name={{item}} state=present with_items: - pygmentize @@ -44,10 +47,15 @@ - laptop - server - - name: Install pacaur - shell: creates=/usr/bin/pacaur curl -o /tmp/PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur; makepkg PKGBUILD --install --needed - when: ansible_os_family == "Archlinux" - + - name: Install CLI tools (Archlinux) + package: name={{item}} state=present + with_items: + - cower + tags: + - desktop + - laptop + - server + - name: Install fonts shell: creates={{item.creates}} pacaur -S --noconfirm {{item.package}} with_items: