Ansible_workstation/roles/workstation/tasks/arch.yml

25 lines
479 B
YAML
Raw 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
update_cache: yes
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