From 8ed1a019fff476cebee8c85838843b446c3691df Mon Sep 17 00:00:00 2001 From: juju4 Date: Wed, 6 Nov 2024 23:56:38 +0000 Subject: [PATCH] feat: add vars/Ubuntu-24.04 --- vars/Ubuntu-24.04.yml | 134 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 vars/Ubuntu-24.04.yml diff --git a/vars/Ubuntu-24.04.yml b/vars/Ubuntu-24.04.yml new file mode 100644 index 0000000..08247ba --- /dev/null +++ b/vars/Ubuntu-24.04.yml @@ -0,0 +1,134 @@ +--- + +misp_pkg_list: + - openssh-server + - mysql-server + # MISP only supports PHP 7 on oct 2022 + - php8.3 + - php8.3-cli + - php8.3-dev + - php8.3-dom + - php8.3-curl + - php8.3-mysql + - php8.3-mbstring + - php8.3-opcache + - php8.3-readline + - php8.3-mbstring + - php8.3-zip + - php8.3-redis + - php8.3-gnupg + - php8.3-apcu + - php8.3-intl + - php8.3-bcmath + - php8.3-gd + - php8.3-simplexml + - php8.3-xml + - postfix + - gcc + - zip + - git + - redis-server + - make + - python3-dev + - python3-pip + - python3-virtualenv + - python3-setuptools + - libxml2-dev + - libxslt1-dev + - libgl1-mesa-glx + - libzbar0 + - zlib1g-dev + - curl + - gnupg + # + - python3-mysqldb + - rng-tools5 + # misp-modules + - python3 + - libpq5 + - acl + - sudo + - cron + ## pillow + - libtiff5-dev + - libjpeg8-dev + - zlib1g-dev + - libfreetype6-dev + ## if pyzmq? + # - libczmq-dev + - openssl + - supervisor + - libfuzzy-dev + - ruby-pygments.rb + - ruby-rubygems + - ruby-dev + - libsm6 + - libzbar0 + - libzbar-dev + - tesseract-ocr + - libpoppler-cpp-dev + - imagemagick + - libxrender1 + # for numpy + - libopenblas-dev + - libopenblas-base + - libatlas-base-dev + - libatlas3-base + +misp_gem_list: + - { name: asciidoctor-pdf, v: 2.3.2 } + +python3_bin: python3 +python3_pip: pip3 + +mysql_svc: mysql +rng_svc: rngd +redis_svc: redis +redis_conf: /etc/redis/redis.conf +misp_services: + - "{{ apache_svc }}" + - "{{ mysql_svc }}" + - "{{ rng_svc }}" + +misp_services_nginx: + - "{{ apache_svc }}" + - "{{ mysql_svc }}" + - "{{ rng_svc }}" + - php8.3-fpm + +misp_testing_pkg: + - ruby + - rake + +misp_webserver_apache2: + - apache2 + - libapache2-mod-php8.3 + ## travis: "No package matching 'libapache2-mod-fastcgi' is available" + # - libapache2-mod-fastcgi + +misp_webserver_nginx: + - nginx + - php-fpm + +php_confdir: /etc/php/8.3/mods-available +php_confext: ini +php_ini: /etc/php/8.3/apache2/php.ini +php_ini_nginx: /etc/php/8.3/fpm/php.ini +php_confenable: /etc/php/8.3/apache2/conf.d +php_bin: /usr/bin/php8.3 +nginx_sock: /run/php/php8.3-fpm.sock +fpm_user: www-data + +gnupg_privdir: "{{ misp_rootdir }}/.gnupg/private-keys-v1.d" + +mispmodules_libyarapath: /usr/local/lib/python3.10/dist-packages/usr/lib + +apacheetc: /etc/apache2 +ssl_user: ssl-cert +ssl_dir: /etc/ssl/certs +ssl_privatedir: /etc/ssl/private + +supervisor_conf: /etc/supervisor/supervisord.conf +supervisor_confdir: /etc/supervisor/conf.d +supervisor_ext: conf +supervisor_service: supervisor