Ansible_workstation/roles/workstation/tasks/archlinux.yml

28 lines
549 B
YAML

---
# tasks file for workstation
- name: More colorfull pacman
lineinfile:
dest: /etc/pacman.conf
regexp: '^#Color$'
line: 'Color'
backrefs: yes
ignore_errors: yes
- name: Install pkgs
community.general.pacman:
name: "{{ item }}"
state: present
with_items: "{{ pacman_pkgs }}"
- name: Install AUR pkgs
aur:
name: "{{ item }}"
state: present
with_items: "{{ aur_pkgs }}"
become: yes
become_user: aur_builder
- name: Install gnome environnement
include_tasks: gnome.yml
when: gnome_environnement