Ansible_workstation/tasks/arch_CLI_packages.yml

100 lines
1.6 KiB
YAML
Raw Normal View History

2018-08-22 18:42:52 +00:00
---
- name: Update and upgrade all packages
pacman:
update_cache: yes
upgrade: yes
2018-11-07 09:57:55 +00:00
tags:
- first_deployement
2018-08-22 18:42:52 +00:00
2018-08-23 12:32:42 +00:00
- name: Install base CLI packages
2018-08-22 18:42:52 +00:00
pacman:
name:
- sudo
- wget
- cronie
- zsh
- vim
- tmux
- ruby
- git
- tig
- openssh
- sshfs
- htop
- ntop
- iotop
- glances
- ranger
- nmap
- nfs-utils
- sshpass
2018-10-17 09:29:13 +00:00
- rsync
2018-10-18 15:13:10 +00:00
- autofs
2018-11-05 13:01:04 +00:00
- bind-tools
- unzip
- fzf
2018-11-17 09:01:17 +00:00
- ntfs-3g
2019-01-14 07:16:36 +00:00
- git-annex
2019-02-03 17:32:32 +00:00
- cifs-utils
2018-08-22 18:42:52 +00:00
state: present
2018-11-07 09:57:55 +00:00
tags:
- first_deployement
2018-08-22 18:42:52 +00:00
2018-08-23 12:32:42 +00:00
- name: Install extra CLI packages
pacman:
name:
- moc
- newsboat
- pass
- cups
- cups-pdf
2018-12-07 07:37:30 +00:00
- task
2019-01-02 08:24:30 +00:00
- profanity
2018-08-23 12:32:42 +00:00
state: present
2018-08-25 09:05:56 +00:00
when: not minimal or not server
2018-08-24 07:18:58 +00:00
2018-10-04 13:47:17 +00:00
- name: enable service cups
systemd:
name: org.cups.cupsd
enabled: yes
2018-10-04 15:48:34 +00:00
state: started
when: not minimal or not server
- name: enable service nfs
systemd:
name: nfs-client.target
2018-10-04 15:48:34 +00:00
enabled: yes
state: started
2018-10-04 13:47:17 +00:00
when: not minimal or not server
2018-08-24 07:20:46 +00:00
- name: More colorfull pacman
lineinfile:
dest: /etc/pacman.conf
regexp: '^#Color$'
line: 'Color'
2018-08-24 09:26:37 +00:00
backrefs: yes
2018-08-24 08:00:59 +00:00
2018-11-11 16:42:31 +00:00
- name: Install mkpasswd
aur:
name: mkpasswd
use: makepkg
skip_installed: true
become: yes
become_user: aur_builder
2019-02-03 17:32:32 +00:00
- name: Init Samba (empty config)
file:
path: /etc/samba/smb.conf
state: file
2018-08-25 18:14:41 +00:00
# - name: Install Tmuxinator
# aur:
# name: "{{ item }}"
# use: yay
# skip_installed: true
# with_items:
# - tmuxinator
# become: yes
# become_user: aur_builder
2018-08-24 08:00:59 +00:00