Ansible_workstation/roles/workstation/tasks/archlinux.yml

28 lines
549 B
YAML
Raw Permalink Normal View History

2022-01-05 13:03:11 +00:00
---
# 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
2022-01-05 13:21:33 +00:00
with_items: "{{ pacman_pkgs }}"
2022-01-05 13:03:11 +00:00
- name: Install AUR pkgs
2022-01-05 13:21:33 +00:00
aur:
2022-01-05 13:03:11 +00:00
name: "{{ item }}"
state: present
2022-01-05 13:21:33 +00:00
with_items: "{{ aur_pkgs }}"
become: yes
become_user: aur_builder
- name: Install gnome environnement
2022-03-04 06:08:25 +00:00
include_tasks: gnome.yml
when: gnome_environnement