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

135 lines
4.1 KiB
YAML

---
- name: Install crypto tools
apt:
name: ['gnupg2', 'gnupg-agent', 'openssl', 'pcscd', 'opensc', 'gpgsm', 'keychain']
state: present
cache_valid_time: 3600
- name: Install network tools
apt:
name: ['ipset', 'ipcalc', 'openipmi', 'cdpr', 'lksctp-tools', 'freeipmi-tools', 'lftp', 'ncftp', 'axel', 'tsocks', 'snmp', 'snmp-mibs-downloader', 'finger']
state: present
cache_valid_time: 3600
- name: Install filesystem tools
apt:
name: ['fuse', 'sshfs', 'dosfstools', 'davfs2', 'smbclient']
state: present
cache_valid_time: 3600
- name: Install database tools
apt:
name: ['sqlite', 'sqlite3', 'sqlite3-doc', 'postgresql-client', 'db-util']
state: present
cache_valid_time: 3600
- 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: ['xsltproc', 'libxml2-utils', 'docbook-xsl', 'docbook-utils', 'docbook-to-man', 'xmlto', 'fop', 'opensp', 'sgml2x', 'sgmltools-lite', 'tidy', 'xalan']
state: present
cache_valid_time: 3600
- name: Install http tools
apt:
name: ['w3m', 'links', 'elinks', 'lynx']
state: present
cache_valid_time: 3600
- name: Install typesetting tools (TeX)
apt:
name: ['groff', 'texlive-full', 'dvi2ps', 'dvipng', 'dvidvi', 'djvulibre-bin', 'ghostscript', 'psutils', 'pandoc']
state: present
cache_valid_time: 3600
- name: Install math tools
apt:
name: ['graphviz', 'r-recommended', 'euler', 'euler-doc', 'gnuplot-doc', 'gap', 'lp-solve', 'mathomatic', 'maxima', 'maxima-doc', 'fplll-tools', 'gnuplot-nox', 'coq', 'octave']
state: present
cache_valid_time: 3600
- name: Install multimedia tools
apt:
name: ['festival', 'dvgrab', 'cdparanoia', 'genisoimage', 'sox', 'mp3blaster', 'x264', 'mkvtoolnix', 'vorbis-tools', 'timidity', 'dvd+rw-tools', 'lame', 'twolame', 'cdrdao', 'wodim', 'pulseaudio', 'bchunk']
state: present
cache_valid_time: 3600
- name: Install multimedia tools (Ubuntu)
when: ansible_distribution == 'Ubuntu'
apt:
name: ['mencoder', 'dvdrip', 'ffmpeg']
state: present
cache_valid_time: 3600
- name: Install multimedia tools (Debian Stretch)
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
apt:
name: ['libav-tools']
state: present
cache_valid_time: 3600
- name: Install multimedia tools (Debian Buster)
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'buster'
apt:
name: ['ffmpeg']
state: present
cache_valid_time: 3600
- name: Install torrent tools
apt:
name: ['rtorrent']
state: present
cache_valid_time: 3600
- name: Install communication tools
apt:
name: ['mutt', 'alpine', 'spamassassin', 'tin', 'irssi', 'weechat', 'weechat-plugins', 'newsbeuter']
state: present
cache_valid_time: 3600
- 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: ['minicom', 'curl']
state: present
cache_valid_time: 3600
- name: Install virtualization tools
apt:
name: ['qemu', 'qemu-kvm', 'bridge-utils']
state: present
cache_valid_time: 3600
- 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: ['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']
state: present
cache_valid_time: 3600