75 lines
1.2 KiB
YAML
75 lines
1.2 KiB
YAML
---
|
|
- name: Update and upgrade all packages
|
|
pacman:
|
|
update_cache: yes
|
|
upgrade: yes
|
|
|
|
- name: Install base CLI packages
|
|
pacman:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items:
|
|
- sudo
|
|
- wget
|
|
- cronie
|
|
- zsh
|
|
- vim
|
|
- tmux
|
|
- ruby
|
|
- git
|
|
- tig
|
|
- openssh
|
|
- sshfs
|
|
- htop
|
|
- ntop
|
|
- iotop
|
|
- glances
|
|
- ranger
|
|
- nmap
|
|
- nfs-utils
|
|
- sshpass
|
|
|
|
- name: Install extra CLI packages
|
|
pacman:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items:
|
|
- moc
|
|
- newsboat
|
|
- pass
|
|
- cups
|
|
- cups-pdf
|
|
when: not minimal or not server
|
|
|
|
- name: enable service cups
|
|
systemd:
|
|
name: org.cups.cupsd
|
|
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
|
|
|
|
- name: More colorfull pacman
|
|
lineinfile:
|
|
dest: /etc/pacman.conf
|
|
regexp: '^#Color$'
|
|
line: 'Color'
|
|
backrefs: yes
|
|
|
|
# - name: Install Tmuxinator
|
|
# aur:
|
|
# name: "{{ item }}"
|
|
# use: yay
|
|
# skip_installed: true
|
|
# with_items:
|
|
# - tmuxinator
|
|
# become: yes
|
|
# become_user: aur_builder
|
|
|