102 lines
1.7 KiB
YAML
102 lines
1.7 KiB
YAML
---
|
|
- name: Update and upgrade all packages
|
|
pacman:
|
|
update_cache: yes
|
|
upgrade: yes
|
|
tags:
|
|
- first_deployement
|
|
|
|
- name: Install base CLI packages
|
|
pacman:
|
|
name:
|
|
- sudo
|
|
- wget
|
|
- cronie
|
|
- vim
|
|
- tmux
|
|
- ruby
|
|
- git
|
|
- tig
|
|
- openssh
|
|
- sshfs
|
|
- htop
|
|
- ntop
|
|
- iotop
|
|
- glances
|
|
- ranger
|
|
- nmap
|
|
- nfs-utils
|
|
- sshpass
|
|
- rsync
|
|
- autofs
|
|
- bind-tools
|
|
- unzip
|
|
- fzf
|
|
- ntfs-3g
|
|
- git-annex
|
|
- cifs-utils
|
|
- vifm
|
|
- gnupg
|
|
state: present
|
|
tags:
|
|
- first_deployement
|
|
|
|
- name: Install extra CLI packages
|
|
pacman:
|
|
name:
|
|
- moc
|
|
- pass
|
|
- cups
|
|
- cups-pdf
|
|
- task
|
|
- profanity
|
|
- neomutt
|
|
- youtube-dl
|
|
state: present
|
|
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 mkpasswd
|
|
aur:
|
|
name: mkpasswd
|
|
use: makepkg
|
|
skip_installed: true
|
|
become: yes
|
|
become_user: aur_builder
|
|
|
|
# - name: Init Samba (empty config)
|
|
# file:
|
|
# path: /etc/samba/smb.conf
|
|
# state: file
|
|
|
|
# - name: Install Tmuxinator
|
|
# aur:
|
|
# name: "{{ item }}"
|
|
# use: yay
|
|
# skip_installed: true
|
|
# with_items:
|
|
# - tmuxinator
|
|
# become: yes
|
|
# become_user: aur_builder
|
|
|