ansible-playbooks/roles/devel/tasks/main.yml

476 lines
8.5 KiB
YAML
Raw Normal View History

---
- name: Install build essentials
apt:
name: build-essential
state: present
cache_valid_time: 3600
- name: Install debian development tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- dpkg-dev
- devscripts
- debootstrap
- dupload
- fakeroot
- debhelper
- dh-make
- dh-make-perl
- dh-buildinfo
- cdbs
- dpatch
- lintian
- alien
- po-debconf
- pbuilder
- dpkg-repack
#- 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: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- clang
- llvm
- llvm-dev
- name: Install build helpers
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- make
- make-doc
- autoconf
- autoconf-doc
- automake
- cmake
- ccache
- ant
- ant-optional
- scons
- qt4-qmake
- qt5-qmake
- autogen
- autotools-dev
- autoproject
- kbuild
- premake4
- maven
- name: Install debuggers
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- strace
- gdb
- elfutils
- valgrind
- libc6-dbg
- name: Install documentation
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- manpages-dev
# - gcc-doc
# - cpp-doc
- binutils-doc
- manpages-posix-dev
- glibc-doc
- glibc-doc-reference
- gdb-doc
- stl-manual
- perl-doc
- name: Install languages
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- 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
# - mono-vbnc
- ocaml
- camlp4
- lua5.3
- liblua5.3-dev
- php7.3-cli
- name: Install scheme/racket
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- racket
- racket-doc
- tinyscheme
- chicken-bin
- mit-scheme-doc
- scheme9
- stalin
- name: Install scheme/racket (Ubuntu)
when: ansible_distribution == 'Ubuntu'
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- scheme2c
- guile-1.8
- guile-1.8-dev
- name: Install assembly tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- bin86
- nasm
- yasm
- name: Install scanning and parsing utils
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- flex
- flex-doc
- bison
- bison-doc
- ragel
- byacc
- re2c
- name: Install source control
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- 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
- 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: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- python3-pip
- python3-virtualenv
- python3-all-dev
- python-pip
- python-virtualenv
- python-all-dev
- drpython
- ipython
- pylint
- pychecker
- pyflakes
- python-m2crypto
- python-mysqldb
# - python-imaging
- python-pil
- python-libxml2
- python-libxslt1
- python-numpy
- python-numpy-doc
- python-twisted
- python-openssl
- python-pexpect
- python-pyasn1
- python-pysnmp4
- python-sqlobject
- python-subversion
- python-urwid
- python-xmpp
# - python-beautifulsoup
- 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
- name: Install rake
apt:
name: rake
state: present
cache_valid_time: 3600
- name: Install tcl/tk
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- tcl
- tcl-dev
- tcl8.6
- tk
- tk-dev
- 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: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- swig
- gawk
- mawk
- m4
- name: Install AVR tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- gcc-avr
- binutils-avr
- gdb-avr
- avrdude
- avrdude-doc
- simulavr
- avarice
- avr-libc
- avra
- avrp
- uisp
- usbprog
- name: Install misc. libraries
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- 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
- 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
- name: Install misc. libraries (Ubuntu)
when: ansible_distribution == 'Ubuntu'
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- libgnutls-dev
- name: Install x11 libraries
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- 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
- name: Install cross-platform toolchains (Ubuntu)
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- 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
when: ansible_distribution == 'Ubuntu'
- name: Install cross-platform toolchains (Debian)
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- 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
when: ansible_distribution == 'Debian'
- name: Install misc. development tools
apt:
name: '{{ item }}'
state: present
cache_valid_time: 3600
with_items:
- gperf
- gettext
- check
- dejagnu
- doxygen
- exuberant-ctags
- indent
- cutils
- chrpath
- openmpi-bin
- openmpi-doc
- protobuf-compiler
- protobuf-c-compiler
- dos2unix