Ansible_workstation/roles/workstation/tasks/arch.yml

28 lines
548 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
import_tasks: gnome.yml
when: gnome_environnement