Ansible_workstation/tasks/arch_CLI_packages.yml

92 lines
1.5 KiB
YAML

---
- name: Update and upgrade all packages
pacman:
update_cache: yes
upgrade: yes
tags:
- first_deployement
- name: Install base CLI packages
pacman:
name:
- pacman-contrib
- sudo
- wget
- cronie
- vim
- tmux
- ruby
- git
- tig
- openssh
- sshfs
- htop
- ntop
- iotop
- glances
- nmap
- nfs-utils
- samba
- sshpass
- rsync
- autofs
- bind-tools
- unzip
- ntfs-3g
- git-annex
- cifs-utils
- gnupg
- traceroute
- smartmontools
- ripgrep
- fzf
state: present
tags:
- first_deployement
- name: Install extra CLI packages
pacman:
name:
- moc
- pass
- cups
- cups-pdf
- task
- profanity
- neomutt
- youtube-dl
- neovim
- python-pynvim
state: present
when: not minimal or not server
- 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
- name: More colorfull pacman
lineinfile:
dest: /etc/pacman.conf
regexp: '^#Color$'
line: 'Color'
backrefs: yes
ignore_errors: yes