44 lines
841 B
YAML
44 lines
841 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
|
||
|
kewlfft.aur.aur:
|
||
|
name: "{{ item }}"
|
||
|
state: present
|
||
|
with_items: aur_pkgs
|
||
|
|
||
|
- name: enable service cups
|
||
|
systemd:
|
||
|
name: cups
|
||
|
# name: org.cups.cups
|
||
|
enabled: yes
|
||
|
state: started
|
||
|
when: not minimal or not server
|
||
|
|
||
|
- name: enable service avahi-daemon
|
||
|
systemd:
|
||
|
name: avahi-daemon
|
||
|
enabled: yes
|
||
|
state: started
|
||
|
when: not minimal or not server
|
||
|
|
||
|
- name: enable service nfs
|
||
|
systemd:
|
||
|
name: nfs-client.target
|
||
|
enabled: yes
|
||
|
state: started
|
||
|
when: not minimal or not server
|