ansible-playbooks/roles/general-use/tasks/main.yml

294 lines
5.0 KiB
YAML

---
- name: Install crypto tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- gnupg2
- gnupg-agent
- openssl
- pcscd
- opensc
- gpgsm
- keychain
- name: Install network tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- ipset
- ipcalc
- openipmi
- cdpr
- lksctp-tools
- freeipmi-tools
- lftp
- ncftp
- axel
- tsocks
- snmp
- snmp-mibs-downloader
- finger
- name: Install filesystem tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- fuse
- sshfs
- dosfstools
- davfs2
# - cloop-utils
# - ecryptfs-utils
- smbclient
- name: Install database tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- sqlite
- sqlite3
- sqlite3-doc
- postgresql-client
- db-util
- name: Install database tools (Ubuntu)
when: ansible_distribution == 'Ubuntu'
apt:
name: mysql-client
state: present
cache_valid_time: 3600
- name: Install database tools (Debian)
when: ansible_distribution == 'Debian'
apt:
name: default-mysql-client
state: present
cache_valid_time: 3600
- name: Install xml tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- xsltproc
- libxml2-utils
- docbook-xsl
- docbook-utils
- docbook-dsssl
- docbook-to-man
- xmlto
- fop
- opensp
- sgml2x
- sgmltools-lite
- tidy
- xalan
- name: Install http tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- w3m
- links
- elinks
- lynx
- name: Install typesetting tools (TeX)
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- groff
- texlive-full
- dvi2ps
- dvipng
- dvidvi
- djvulibre-bin
- ghostscript
- psutils
- pandoc
- name: Install math tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- graphviz
- r-recommended
- euler
- euler-doc
- gnuplot-doc
- gap
- lp-solve
- mathomatic
- maxima
- maxima-doc
- fplll-tools
- gnuplot-nox
- coq
- name: Install multimedia tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- festival
- dvgrab
- cdparanoia
- genisoimage
- sox
- mp3blaster
- x264
- mkvtoolnix
- vorbis-tools
- timidity
- dvd+rw-tools
- lame
- twolame
- cdrdao
- wodim
- pulseaudio
- bchunk
- name: Install multimedia tools (Ubuntu)
when: ansible_distribution == 'Ubuntu'
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- mencoder
- dvdrip
- ffmpeg
- name: Install multimedia tools (Debian Stretch)
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- libav-tools
- name: Install multimedia tools (Debian Buster)
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'buster'
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- ffmpeg
- name: Install torrent tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- rtorrent
- name: Install communication tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- mutt
- alpine
- spamassassin
- tin
- irssi
- weechat
- weechat-plugins
- newsbeuter
- name: Install communication tools (not Debian Buster)
when: not(ansible_distribution == 'Debian' and ansible_distribution_version == 'buster/sid')
apt:
name: fetchmail
state: present
cache_valid_time: 3600
- name: Install serial tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- minicom
- curl
- name: Install virtualization tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- qemu
- qemu-kvm
- bridge-utils
- name: Install virtualization tools (Ubuntu)
when: ansible_distribution != 'Debian'
apt:
name: libvirt-bin
state: present
cache_valid_time: 3600
- name: Install misc. tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- rdiff
- tofrodos
- mc
- busybox-static
- most
- bonnie++
- time
- latencytop
- bsdmainutils
- dctrl-tools
- gddrescue
- file
- parchive
- par2
- reportbug
- rpm
- shtool
- stow
- xstow
- sysstat
- unison
- john
- sg3-utils
- dstat
- rstat-client
- i2c-tools
- dnstracer
- apt-file
- makepasswd
- syslinux
- fdupes
- cowsay
- 9base
- libjpeg-progs
- jq