Merge branch 'master' of git_opytex:/lafrite/Ansible_workstation

This commit is contained in:
Bertrand Benjamin 2019-06-24 07:51:47 +02:00
commit 086f6b20db
3 changed files with 31 additions and 6 deletions

View File

@ -87,6 +87,8 @@
repo: https://git.opytex.org/lafrite/st.git repo: https://git.opytex.org/lafrite/st.git
dest: /home/aur_builder/st dest: /home/aur_builder/st
register: st_update register: st_update
become: yes
become_user: aur_builder
- name: Install st - name: Install st
command: "makepkg -si --noconfirm" command: "makepkg -si --noconfirm"

View File

@ -80,11 +80,6 @@
when: prompt == 'fish' when: prompt == 'fish'
register: fishplugin register: fishplugin
- name: Run fisher update
shell: fisher
become_user: "{{ me }}"
when: fishconfig.changed or fishplugin.changed
# Vim config # Vim config
- name: Copy .vim/ - name: Copy .vim/
copy: copy:

View File

@ -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: pacman:
name: name:
- lutris - lutris
- steam
- ttf-liberation
state: present state: present