From 4a0f1318fe527f4c2ba56f35e42d800b764933c8 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 26 May 2019 18:53:26 +0200 Subject: [PATCH 1/3] Feat: add steam to gaming --- tasks/gaming.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tasks/gaming.yml b/tasks/gaming.yml index 7a38c43..e2fee50 100644 --- a/tasks/gaming.yml +++ b/tasks/gaming.yml @@ -1,6 +1,34 @@ --- -- name: Install Lutris +- name: "add multilib" + lineinfile: + dest: "/etc/pacman.conf" + state: "present" + line: "[multilib]" + regexp: "^\\[multilib\\]" + insertafter: "^#\\[multilib\\]" + +- name: "add multilib (cont)" + lineinfile: + dest: "/etc/pacman.conf" + state: "present" + line: "Include = /etc/pacman.d/mirrorlist" + insertafter: "^\\[multilib\\]" + regexp: "Include = /etc/pacman.d/mirrorlist" + +- name: Update pacman cache + pacman: + update_cache: yes + +- name: Ensure a locale exists + locale_gen: + name: en_US.UTF-8 + state: present + +- name: Install Lutris, steam and fonts pacman: name: - lutris + - steam + - ttf-liberation state: present + From ee3b0b3cb0f0bdf8d232abef1755ebb2368f2416 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 10 Jun 2019 18:52:26 +0200 Subject: [PATCH 2/3] Feat: permission and become for st clone and makepkg --- tasks/arch_graphicals.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/arch_graphicals.yml b/tasks/arch_graphicals.yml index 5b5e55a..ed49c9e 100644 --- a/tasks/arch_graphicals.yml +++ b/tasks/arch_graphicals.yml @@ -87,6 +87,8 @@ repo: https://git.opytex.org/lafrite/st.git dest: /home/aur_builder/st register: st_update + become: yes + become_user: aur_builder - name: Install st command: "makepkg -si --noconfirm" From 2b56cfa34fcfc77032ba27055776035de47854d4 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 10 Jun 2019 18:58:45 +0200 Subject: [PATCH 3/3] Fix: remove fisher update --- tasks/dotfiles.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index 5e45752..df4c724 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -80,11 +80,6 @@ when: prompt == 'fish' register: fishplugin -- name: Run fisher update - shell: fisher - become_user: "{{ me }}" - when: fishconfig.changed or fishplugin.changed - # Vim config - name: Copy .vim/ copy: