Compare commits

...

3 Commits

Author SHA1 Message Date
Yohann D'ANELLO bfbb228d12
Add pacman role
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-03-21 01:43:12 +01:00
Yohann D'ANELLO f84085a142
Install patch, jq, obs-studio
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-03-21 00:42:38 +01:00
Yohann D'ANELLO 7d5c4c9d2d
[xorg] Add xorg-xinput
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-03-20 23:07:31 +01:00
7 changed files with 38 additions and 1 deletions

View File

@ -17,6 +17,7 @@
roles:
- sudo
- systemd
- pacman
- ntp
- texlive
- xorg

View File

@ -8,6 +8,7 @@
- git
- sl
- htop
- patch
- tmux
- tree
register: pkg_result

View File

@ -5,6 +5,7 @@
name:
- feh
- mpv
- obs-studio
- vlc
- zathura
- zathura-pdf-poppler

View File

@ -0,0 +1,28 @@
---
- name: Ensure pacman is installed
package:
name:
- pacman
register: pkg_result
retries: 3
until: pkg_result is succeeded
- name: Use Crans mirror
template:
src: pacman.d/mirrorlist.j2
dest: /etc/pacman.d/mirrorlist
owner: root
group: root
mode: 0644
- name: Enable colors and sugar
lineinfile:
regex: "{{ item }}"
line: "{{ item }}"
insertafter: "[options]"
path: /etc/pacman.conf
loop:
- Color
- TotalDownload
- CheckSpace
- ILoveCandy

View File

@ -0,0 +1,4 @@
{{ ansible_header | comment }}
Server = https://ftps.crans.org/archlinux/$repo/os/$arch
Server = http://mirror.crans.org/archlinux/$repo/os/$arch

View File

@ -3,8 +3,9 @@
- name: Queries package manager to install pass
package:
name:
- pass
- jq
- git
- pass
register: pkg_result
retries: 3
until: pkg_result is succeeded

View File

@ -14,6 +14,7 @@
- ttf-liberation
- xorg-fonts-type1
- xorg-xinit
- xorg-xinput
- xorg-server
- xss-lock
register: pkg_result