108 lines
2.9 KiB
YAML
108 lines
2.9 KiB
YAML
---
|
|
- name: Install zamok tools
|
|
apt:
|
|
update_cache: true
|
|
name:
|
|
- apache2
|
|
- bat # Rajouté par shirenn le 10/11/2021
|
|
- bitlbee # Demande du 06/09/2017 17:40 sur #crans
|
|
- byobu
|
|
- cabal-install
|
|
- cmake # Demande irc #root 22/05/2018 15h45
|
|
- cpanminus
|
|
- exiv2 # Demande du 25/08/2017 14:19 sur #crans
|
|
- fetchmail
|
|
- fish
|
|
# - freefem++ # Demande du 14/05/2018 17:12 sur #roots
|
|
- graphviz # Demande du 10/02/2018 15:46 sur #roots
|
|
- inotify-tools # Demande du 24/10/2017 23:17 sur #crans
|
|
- jed # Demande du 04/08/2017 sur nounou@
|
|
- joe
|
|
- libapache2-mod-fcgid
|
|
- libapache2-mod-wsgi-py3
|
|
- lua-cjson # Demande du 01/09/2017 18:50 sur #crans
|
|
- lynx # Demande du 30/07/2017 sur nounou@
|
|
- mariadb-server
|
|
- moreutils # Ce package, c'est la vie !
|
|
- nyancat
|
|
- octave # Demande irc #crans 28/02/2019 14h28
|
|
- odt2txt
|
|
- par
|
|
- pdftk # Demande mail nounou@ 16/10/2018 16h01
|
|
- php
|
|
- php-bz2
|
|
- php-curl
|
|
- php-fpm
|
|
- php-gd
|
|
- php-mbstring
|
|
- php-mysql
|
|
- php-sqlite
|
|
- php-xml
|
|
- php-zip
|
|
- phpmyadmin
|
|
- pkg-config # Demande du 01/02/2018 15:00 sur #roots
|
|
- poppler-utils
|
|
- python3-dialog
|
|
- python3-django
|
|
- python3-django-reversion
|
|
- python3-djangorestframework
|
|
- python3-irc
|
|
- python3-mysqldb
|
|
- python3-netaddr
|
|
- python3-pip
|
|
- python3-scipy
|
|
- python3-venv # Ajout par erdnaxe pour la Med 10/08/2019 10h50
|
|
- pyzor
|
|
- ranger # Demande du 31/01/2020 11h10 par Solal
|
|
- razor
|
|
- reptyr
|
|
- ruby-dev # Demande du 07/01/2018 18:50 sur #crans pour compiler des gem
|
|
- sl
|
|
- slrn
|
|
- spamassassin # utile pour filtrer le spam avec procmail
|
|
- texlive-full
|
|
- unison # Demande news crans.crans 11/04/18
|
|
- uwsgi # pratique pour utiliser Django sur sa page perso
|
|
- uwsgi-plugin-python3
|
|
- vim-gtk # Demande du 23/09/2017 22:04 sur #crans
|
|
- weechat # Parceque c'est normal qu'il soit installe
|
|
register: apt_result
|
|
retries: 3
|
|
until: apt_result is succeeded
|
|
|
|
- name: Install required apache modules
|
|
community.general.apache2_module:
|
|
name: "{{ item }}"
|
|
state: present
|
|
loop:
|
|
- authz_groupfile
|
|
- proxy
|
|
- proxy_fcgi
|
|
- proxy_http
|
|
- rewrite
|
|
- socache_shmcb
|
|
- userdir
|
|
|
|
- name: Copy apache configuration
|
|
template:
|
|
src: "apache2/{{ item }}.j2"
|
|
dest: "/etc/apache2/{{ item }}"
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
loop:
|
|
- "club-vhosts.map"
|
|
- "ports.conf"
|
|
- "sites-available/000-perso-vhosts.conf"
|
|
- "sites-available/001-perso.conf"
|
|
- "suexec/www-data"
|
|
|
|
- name: Enable apache sites
|
|
file:
|
|
src: "/etc/apache2/sites-available/{{ item }}"
|
|
dest: "/etc/apache2/sites-enabled/{{ item }}"
|
|
owner: root
|
|
group: root
|
|
state: link
|
|
force: true
|