You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffmyk-ansible/roles/install_yaourt/tasks/main.yml

28 lines
568 B
YAML

---
- 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"