Ansible_workstation/roles/workstation/tasks/arch.yml

25 lines
479 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
update_cache: yes
with_items: "{{ pacman_pkgs }}"
- name: Install AUR pkgs
aur:
name: "{{ item }}"
state: present
with_items: "{{ aur_pkgs }}"
become: yes
become_user: aur_builder