summaryrefslogtreecommitdiff
path: root/roles/install_yaourt/tasks/main.yml
blob: 4ddbcd529f5dc5adb26ce0d72dccfbd0f1d33a10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
- name: add aur user {{ aur_user }}
  user:
      name: '{{ aur_user }}'
      group: users
      groups: wheel

- name: allow group wheel to sudo
  copy:
      src: 10-wheel
      dest: /etc/sudoers.d/

- name: "add archlinux.fr repository to pacman"
  lineinfile:
      dest: "/etc/pacman.conf"
      state: "present"
      line: "{{ item }}"
  with_items:
      - "[archlinuxfr]"
      - "SigLevel = Never"
      - "Server = http://repo.archlinux.fr/$arch"

- name: "install yaourt"
  pacman:
      update_cache: yes
      name: "yaourt"
      state: "present"