--- - name: Install build essentials apt: name: build-essential state: present cache_valid_time: 3600 - name: Install debian development tools apt: name: ['dpkg-dev', 'devscripts', 'debootstrap', 'dupload', 'fakeroot', 'debhelper', 'dh-make', 'dh-make-perl', 'dh-buildinfo', 'cdbs', 'dpatch', 'lintian', 'alien', 'po-debconf', 'pbuilder', 'dpkg-repack'] state: present cache_valid_time: 3600 #- name: Install kernel-package (not Debian Stretch) # when: not(ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch') # apt: # name: kernel-package # state: present # cache_valid_time: 3600 - name: Configure dupload file: src: dupload.conf dest: /etc/dupload.conf - name: Install llvm apt: name: ['clang', 'llvm', 'llvm-dev'] state: present cache_valid_time: 3600 - name: Install build helpers apt: name: ['make', 'make-doc', 'autoconf', 'autoconf-doc', 'automake', 'cmake', 'ccache', 'ant', 'ant-optional', 'scons', 'qt4-qmake', 'qt5-qmake', 'autogen', 'autotools-dev', 'autoproject', 'kbuild', 'premake4', 'maven'] state: present cache_valid_time: 3600 - name: Install debuggers apt: name: ['strace', 'gdb', 'elfutils', 'valgrind', 'libc6-dbg', 'binutils'] state: present cache_valid_time: 3600 - name: Install documentation apt: name: ['manpages-dev', 'binutils-doc', 'manpages-posix-dev', 'glibc-doc', 'glibc-doc-reference', 'gdb-doc', 'stl-manual', 'perl-doc'] state: present cache_valid_time: 3600 - name: Install languages apt: name: ['python', 'python3', 'perl', 'ruby', 'ruby-dev', 'golang', 'gfortran', 'erlang', 'erlang-dev', 'beef', 'intercal', 'rhino', 'sbcl', 'r-base-core', 'ghc', 'ghc-doc', 'haskell-platform', 'openjdk-11-jdk-headless', 'mono-complete', 'mono-devel', 'mono-profiler', 'mono-tools-devel', 'mono-tools-gui', 'ocaml', 'camlp4', 'lua5.3', 'liblua5.3-dev', 'php7.3-cli'] state: present cache_valid_time: 3600 - name: Install scheme/racket apt: name: ['racket', 'racket-doc', 'tinyscheme', 'chicken-bin', 'mit-scheme-doc', 'scheme9', 'stalin'] state: present cache_valid_time: 3600 - name: Install scheme/racket (Ubuntu) when: ansible_distribution == 'Ubuntu' apt: name: ['scheme2c', 'guile-1.8', 'guile-1.8-dev'] state: present cache_valid_time: 3600 - name: Install assembly tools apt: name: ['bin86', 'nasm', 'yasm'] state: present cache_valid_time: 3600 - name: Install scanning and parsing utils apt: name: ['flex', 'flex-doc', 'bison', 'bison-doc', 'ragel', 'byacc', 're2c'] state: present cache_valid_time: 3600 - name: Install source control apt: name: ['git', 'git-email', 'git-cvs', 'git-svn', 'git-doc', 'git-buildpackage', 'git-gui', 'mercurial', 'subversion', 'subversion-tools', 'darcs', 'bzr', 'bzrtools', 'cvs', 'cvsps', 'wdiff', 'colordiff', 'patch', 'patchutils', 'quilt', 'gitk', 'diffutils'] state: present cache_valid_time: 3600 - name: Install source control (Ubuntu) when: ansible_distribution == 'Ubuntu' apt: name: tkdiff state: present cache_valid_time: 3600 - name: Install source control (not Debian Stretch) when: not(ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch') apt: name: git-lfs state: present cache_valid_time: 3600 - name: Install python libraries apt: name: ['python3-pip', 'python3-virtualenv', 'python3-all-dev', 'python-pip', 'python-virtualenv', 'python-all-dev', 'drpython', 'ipython', 'pylint', 'pychecker', 'pyflakes', 'python-m2crypto', 'python-mysqldb', 'python-pil', 'python-libxml2', 'python-libxslt1', 'python-numpy', 'python-numpy-doc', 'python-twisted', 'python-openssl', 'python-pyasn1', 'python-pysnmp4', 'python-sqlobject', 'python-subversion', 'python-urwid', 'python-xmpp', 'python3-bs4', 'python-chardet', 'python-kerberos', 'python-mako', 'python-rpm', 'python-selinux', 'python-setuptools', 'python-simplejson', 'python-sqlite', 'python-sqlitecachec', 'python-urlgrabber', 'python-cups', 'python-notify', 'python-tk', 'python-requests', 'jython', 'jython-doc'] state: present cache_valid_time: 3600 - name: Install rake apt: name: rake state: present cache_valid_time: 3600 - name: Install tcl/tk apt: name: ['tcl', 'tcl-dev', 'tcl8.6', 'tk', 'tk-dev'] state: present cache_valid_time: 3600 - name: Install lua libs (when not Debian Buster) when: not(ansible_distribution == 'Debian' and ansible_distribution_version == 'buster/sid') apt: name: love state: present cache_valid_time: 3600 - name: Install misc. scripting apt: name: ['swig', 'gawk', 'mawk', 'm4'] state: present cache_valid_time: 3600 - name: Install AVR tools apt: name: ['gcc-avr', 'binutils-avr', 'gdb-avr', 'avrdude', 'avrdude-doc', 'simulavr', 'avarice', 'avr-libc', 'avra', 'avrp', 'uisp', 'usbprog'] state: present cache_valid_time: 3600 - name: Install misc. libraries apt: name: ['libldap2-dev', 'libpam0g-dev', 'comerr-dev', 'e2fslibs-dev', 'libcap-dev', 'libattr1-dev', 'libacl1-dev', 'libselinux1-dev', 'libpcre3-dev', 'libapt-pkg-dev', 'linux-libc-dev', 'libkrb5-dev', 'libreadline-dev', 'libncurses5-dev', 'libncursesw5-dev', 'libghc-mtl-dev', 'libghc-mtl-prof', 'libghc-mtl-doc', 'libghc-network-dev', 'libghc-parsec3-dev', 'libboost-dev', 'zlib1g-dev', 'libbz2-dev', 'libcurl4-gnutls-dev', 'libexpat1-dev', 'libglib2.0-dev', 'libgmp3-dev', 'libsasl2-dev', 'libsctp-dev', 'libsqlite3-dev', 'libssl-dev', 'libxml2-dev', 'libxslt1-dev', 'ss-dev', 'mesa-common-dev', 'uuid-dev', 'libprotobuf-c-dev', 'libprotobuf-dev', 'libffi-dev', 'libidl-dev', 'libelf-dev', 'libdw-dev', 'libaudit-dev', 'libgmp-dev', 'libmpfr-dev', 'libmpc-dev', 'libfplll-dev'] state: present cache_valid_time: 3600 - name: Install misc. libraries (Ubuntu) when: ansible_distribution == 'Ubuntu' apt: name: ['libgnutls-dev'] state: present cache_valid_time: 3600 - name: Install x11 libraries apt: name: ['xorg-dev', 'xutils-dev', 'libgtk2.0-dev', 'libqt4-dev', 'libsdl1.2-dev', 'freeglut3-dev', 'libgl1-mesa-dev', 'libglu1-mesa-dev', 'libghc-x11-dev', 'libghc-x11-doc', 'libghc-x11-prof', 'libgtkmm-2.4-dev', 'glade'] state: present cache_valid_time: 3600 - name: Install cross-platform toolchains (Ubuntu) apt: name: ['gcc-5-arm-linux-gnueabi', 'gcc-5-mips-linux-gnu', 'gcc-5-mipsel-linux-gnu', 'gcc-5-powerpc-linux-gnu', 'gcc-5-sparc64-linux-gnu', 'gcc-5-s390x-linux-gnu'] state: present cache_valid_time: 3600 when: ansible_distribution == 'Ubuntu' - name: Install cross-platform toolchains (Debian) apt: name: ['gcc-8-arm-linux-gnueabi', 'gcc-8-mips-linux-gnu', 'gcc-8-mipsel-linux-gnu', 'gcc-8-powerpc-linux-gnu', 'gcc-8-sparc64-linux-gnu', 'gcc-8-s390x-linux-gnu'] state: present cache_valid_time: 3600 when: ansible_distribution == 'Debian' - name: Install misc. development tools apt: name: ['gperf', 'gettext', 'check', 'dejagnu', 'doxygen', 'exuberant-ctags', 'indent', 'cutils', 'chrpath', 'openmpi-bin', 'openmpi-doc', 'protobuf-compiler', 'protobuf-c-compiler', 'dos2unix'] state: present cache_valid_time: 3600