Update to 2021-07-22 19:00

master
Daniel Berteaud 3 years ago
parent 27a1966ba8
commit 9d86a90d52
  1. 1
      roles/common/tasks/main.yml
  2. 13
      roles/common/vars/RedHat-7.yml
  3. 13
      roles/common/vars/RedHat-8.yml
  4. 1
      roles/crowdsec_firewall_bouncer/tasks/facts.yml
  5. 1
      roles/freepbx/tasks/main.yml
  6. 32
      roles/freepbx/vars/RedHat-7.yml
  7. 31
      roles/freepbx/vars/RedHat-8.yml
  8. 1
      roles/funkwhale/tasks/facts.yml
  9. 17
      roles/funkwhale/vars/RedHat-7.yml
  10. 16
      roles/funkwhale/vars/RedHat-8.yml
  11. 1
      roles/gitea/tasks/facts.yml
  12. 6
      roles/gitea/vars/RedHat-7.yml
  13. 6
      roles/gitea/vars/RedHat-8.yml
  14. 1
      roles/httpd_common/tasks/main.yml
  15. 8
      roles/httpd_common/vars/RedHat-7.yml
  16. 8
      roles/httpd_common/vars/RedHat-8.yml
  17. 5
      roles/includes/vars/RedHat-7.yml
  18. 6
      roles/includes/vars/RedHat-8.yml
  19. 1
      roles/includes/webapps_create_mysql_db.yml
  20. 1
      roles/lemonldap_ng/tasks/main.yml
  21. 26
      roles/lemonldap_ng/vars/RedHat-7.yml
  22. 26
      roles/lemonldap_ng/vars/RedHat-8.yml
  23. 1
      roles/letsencrypt/tasks/main.yml
  24. 5
      roles/letsencrypt/vars/RedHat-7.yml
  25. 5
      roles/letsencrypt/vars/RedHat-8.yml
  26. 1
      roles/matrix_synapse/tasks/facts.yml
  27. 29
      roles/matrix_synapse/vars/RedHat-7.yml
  28. 28
      roles/matrix_synapse/vars/RedHat-8.yml
  29. 1
      roles/mongodb_server/tasks/facts.yml
  30. 6
      roles/mongodb_server/vars/RedHat-7.yml
  31. 6
      roles/mongodb_server/vars/RedHat-8.yml
  32. 1
      roles/mysql_server/tasks/main.yml
  33. 6
      roles/mysql_server/vars/RedHat-7.yml
  34. 6
      roles/mysql_server/vars/RedHat-8.yml
  35. 1
      roles/ntp_client/tasks/main.yml
  36. 6
      roles/ntp_client/vars/RedHat-7.yml
  37. 6
      roles/ntp_client/vars/RedHat-8.yml
  38. 1
      roles/openxpki/tasks/facts.yml
  39. 19
      roles/openxpki/vars/RedHat-7.yml
  40. 20
      roles/openxpki/vars/RedHat-8.yml
  41. 1
      roles/pgadmin4/tasks/facts.yml
  42. 11
      roles/pgadmin4/vars/RedHat-7.yml
  43. 10
      roles/pgadmin4/vars/RedHat-8.yml
  44. 1
      roles/phpmyadmin/tasks/main.yml
  45. 7
      roles/phpmyadmin/vars/RedHat-7.yml
  46. 6
      roles/phpmyadmin/vars/RedHat-8.yml
  47. 1
      roles/postgresql_server/tasks/main.yml
  48. 7
      roles/postgresql_server/vars/RedHat-7.yml
  49. 7
      roles/postgresql_server/vars/RedHat-8.yml
  50. 29
      roles/repo_base/tasks/AlmaLinux-8.yml
  51. 51
      roles/repo_base/tasks/CentOS-7.yml
  52. 125
      roles/repo_base/tasks/CentOS-8.yml
  53. 11
      roles/repo_base/tasks/epel_RedHat-7.yml
  54. 20
      roles/repo_base/tasks/epel_RedHat-8.yml
  55. 22
      roles/repo_base/tasks/fws_RedHat.yml
  56. 47
      roles/repo_base/tasks/main.yml
  57. 5
      roles/repo_base/tasks/postgres_client_RedHat.yml
  58. 1
      roles/repo_remi/tasks/main.yml
  59. 3
      roles/repo_remi/vars/RedHat-7.yml
  60. 3
      roles/repo_remi/vars/RedHat-8.yml
  61. 1
      roles/rsync_server/tasks/main.yml
  62. 5
      roles/rsync_server/vars/RedHat-7.yml
  63. 6
      roles/rsync_server/vars/RedHat-8.yml
  64. 1
      roles/samba/tasks/facts.yml
  65. 16
      roles/samba/vars/RedHat-7.yml
  66. 16
      roles/samba/vars/RedHat-8.yml
  67. 1
      roles/seafile/tasks/facts.yml
  68. 41
      roles/seafile/vars/RedHat-7.yml
  69. 43
      roles/seafile/vars/RedHat-8.yml
  70. 1
      roles/squid/defaults/main.yml
  71. 10
      roles/squid/files/acl/software_almalinux.domains
  72. 1
      roles/ttrss/tasks/main.yml
  73. 6
      roles/ttrss/vars/RedHat-7.yml
  74. 6
      roles/ttrss/vars/RedHat-8.yml
  75. 1
      roles/unifi/tasks/main.yml
  76. 6
      roles/unifi/vars/RedHat-7.yml
  77. 6
      roles/unifi/vars/RedHat-8.yml
  78. 1
      roles/wapt_server/tasks/main.yml
  79. 7
      roles/wapt_server/vars/RedHat-7.yml
  80. 7
      roles/wapt_server/vars/RedHat-8.yml
  81. 1
      roles/zabbix_agent/tasks/facts.yml
  82. 7
      roles/zabbix_agent/vars/RedHat-7.yml
  83. 8
      roles/zabbix_agent/vars/RedHat-8.yml

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml

@ -0,0 +1,13 @@
---
system_distro_utils:
- openssh-clients
- nc
- xz
- lz4
- yum-utils
- fuse-sshfs
- policycoreutils-python
- MySQL-python
- python-psycopg2
- zstd

@ -0,0 +1,13 @@
---
system_distro_utils:
- openssh-clients
- nc
- xz
- lz4
- yum-utils
- fuse-sshfs
- policycoreutils-python-utils
- python3-mysql
- python3-psycopg2
- zstd

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: cs tags: cs

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
- vars/defaults.yml - vars/defaults.yml

@ -0,0 +1,32 @@
---
fpbx_packages:
- asterisk
- asterisk-voicemail
- asterisk-pjsip
- asterisk-sip
- asterisk-mysql
- asterisk-ael
- asterisk-iax2
- asterisk-dahdi
- asterisk-fax
- asterisk-ldap
- asterisk-misdn
- asterisk-mp3
- asterisk-odbc
- mysql-connector-odbc
- mpg123
- lame
- opus
- nmap
- nodejs
- tar
- mariadb
- MySQL-python
- acl
- gcc-c++ # needed for ucp
- icu
- libicu-devel
- patch
- vsftpd

@ -0,0 +1,31 @@
---
fpbx_packages:
- asterisk
- asterisk-voicemail
- asterisk-pjsip
- asterisk-sip
- asterisk-mysql
- asterisk-ael
- asterisk-iax2
- asterisk-dahdi
- asterisk-fax
- asterisk-ldap
- asterisk-mp3
- asterisk-odbc
- mariadb-connector-odbc
- mpg123
# - lame
- opus
- nmap
- nodejs
- tar
- mariadb
- python3-mysql
- acl
- gcc-c++ # needed for ucp
- icu
- libicu-devel
- patch
- vsftpd

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: funkwhale tags: funkwhale

@ -0,0 +1,17 @@
---
funkwhale_packages:
- gcc
- git
- postgresql13
- postgresql-devel
- openldap-devel
- cyrus-sasl-devel
- libjpeg-turbo-devel
- python-psycopg2
- python-setuptools
- python3-virtualenv
- python3-pip
- ffmpeg
- mod_xsendfile

@ -0,0 +1,16 @@
---
funkwhale_packages:
- gcc
- git
- postgresql13
- postgresql-devel
- openldap-devel
- cyrus-sasl-devel
- libjpeg-turbo-devel
- python3-psycopg2
- python3-setuptools
- python3-virtualenv
- python3-pip
- ffmpeg
- mod_xsendfile

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: gitea tags: gitea

@ -0,0 +1,6 @@
---
gitea_packages:
- sclo-git212-git
- git-lfs
gitea_scl_cmd: '/bin/scl enable sclo-git212 -- '

@ -0,0 +1,6 @@
---
gitea_packages:
- git
- git-lfs
gitea_scl_cmd: ''

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
- vars/defaults.yml - vars/defaults.yml

@ -0,0 +1,8 @@
---
httpd_common_packages:
- httpd
- mod_fcgid
- policycoreutils-python
- python-passlib
- mod_authnz_pam

@ -0,0 +1,8 @@
---
httpd_common_packages:
- httpd
- mod_fcgid
- python3-policycoreutils
- python3-passlib
- mod_authnz_pam

@ -0,0 +1,5 @@
---
webapps_mysql_packages:
- MySQL-python
- mariadb

@ -0,0 +1,6 @@
---
webapps_mysql_packages:
- python3-mysql
- mariadb

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- ../includes/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - ../includes/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- ../includes/vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- ../includes/vars/{{ ansible_distribution }}.yml - ../includes/vars/{{ ansible_distribution }}.yml
- ../includes/vars/{{ ansible_os_family }}.yml - ../includes/vars/{{ ansible_os_family }}.yml
- ../includes/vars/defaults.yml - ../includes/vars/defaults.yml

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: web tags: web

@ -0,0 +1,26 @@
---
llng_common_packages:
- lemonldap-ng-conf
- perl-Cache-Cache
- lemonldap-ng-fastcgi-server
llng_portal_packages:
- python-passlib
- lemonldap-ng-portal
- lemonldap-ng-doc
- lasso
- lasso-perl
- perl-Authen-Captcha
- perl-Auth-Yubikey_WebClient
llng_manager_packages:
- lemonldap-ng-manager
- lemonldap-ng-doc
- lemonldap-ng-fr-doc
llng_mysql_packages:
- perl-DBD-MySQL
- MySQL-python
- mariadb
- perl-Apache-Session-Browseable

@ -0,0 +1,26 @@
---
llng_common_packages:
- lemonldap-ng-conf
- perl-Cache-Cache
- lemonldap-ng-fastcgi-server
- python3-mysql
llng_portal_packages:
- python3-passlib
- lemonldap-ng-portal
- lemonldap-ng-doc
- lasso
- lasso-perl
- perl-Authen-Captcha
- perl-Auth-Yubikey_WebClient
llng_manager_packages:
- lemonldap-ng-manager
- lemonldap-ng-doc
llng_mysql_packages:
- perl-DBD-MySQL
- python3-mysql
- mariadb
- perl-Apache-Session-Browseable

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: web,ssl tags: web,ssl

@ -0,0 +1,5 @@
---
letsencrypt_packages:
- dehydrated
- python2-dns-lexicon

@ -0,0 +1,5 @@
---
letsencrypt_packages:
- dehydrated
- python3-dns-lexicon

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: matrix tags: matrix

@ -0,0 +1,29 @@
---
synapse_packages:
- libtiff-devel
- libjpeg-devel
- libzip-devel
- freetype-devel
- lcms2-devel
- libwebp-devel
- tcl-devel
- tk-devel
- libffi-devel
- openssl-devel
- libxslt-devel
- gcc
- gcc-c++
- libtool
- autoconf
- automake
- postgresql13
- postgresql-devel
- libpqxx-devel
- jemalloc
- python3-virtualenv
- python3-pip
- python-psycopg2
- python-setuptools
synapse_jemalloc: /usr/lib64/libjemalloc.so.1

@ -0,0 +1,28 @@
---
synapse_packages:
- libtiff-devel
- libjpeg-devel
- libzip-devel
- freetype-devel
- lcms2-devel
- libwebp-devel
- tcl-devel
- tk-devel
- libffi-devel
- openssl-devel
- libxslt-devel
- gcc
- gcc-c++
- libtool
- autoconf
- automake
- postgresql13
- postgresql-devel
- jemalloc
- python3-virtualenv
- python3-pip
- python3-psycopg2
- python3-setuptools
synapse_jemalloc: /usr/lib64/libjemalloc.so.2

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: mongo tags: mongo

@ -0,0 +1,6 @@
---
mongo_packages:
- mongodb-org-server
- mongodb-org
- python-pip

@ -0,0 +1,6 @@
---
mongo_packages:
- mongodb-org-server
- mongodb-org
- python3-pip

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
- vars/defaults.yml - vars/defaults.yml

@ -0,0 +1,6 @@
---
mysql_server_packages:
- mariadb-server
- mariadb
- MySQL-python

@ -0,0 +1,6 @@
---
mysql_server_packages:
- mariadb-server
- mariadb
- python3-mysql

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: ntp tags: ntp

@ -0,0 +1,6 @@
---
ntp_ntpd_service: ntpd
ntp_chrony_service: chronyd
ntp_chrony_conf: /etc/chrony.conf
ntp_chrony_keyfile: /etc/chrony.keys

@ -0,0 +1,6 @@
---
ntp_ntpd_service: ntpd
ntp_chrony_service: chronyd
ntp_chrony_conf: /etc/chrony.conf
ntp_chrony_keyfile: /etc/chrony.keys

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: pki tags: pki

@ -0,0 +1,19 @@
---
pki_packages:
- openssl-devel
- openldap-devel
- libxml2-devel
- expat-devel
- mariadb-devel
- libapreq2-devel
- gcc
- perl-App-cpanminus
- gettext # To build I18N files
- pwgen # To generate random secrets
- java-1.8.0-openjdk-headless # For keytool utility
- mariadb # To load the schema
- patch # To apply local patches
- perl-autodie # Provides perl(Fatal), needed to install perl deps
- perl-Config-Std # needed to install perl deps

@ -0,0 +1,20 @@
---
pki_packages:
- openssl-devel
- openldap-devel
- libxml2-devel
- expat-devel
- mariadb-devel
- libapreq2-devel
- gcc
- perl-App-cpanminus
- gettext # To build I18N files
- pwgen # To generate random secrets
- java-1.8.0-openjdk-headless # For keytool utility
- mariadb # To load the schema
- patch # To apply local patches
- perl-autodie # Provides perl(Fatal), needed to install perl deps
- perl-Config-Std # needed to install perl deps
- glibc-langpack-en

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: pgadmin4 tags: pgadmin4

@ -0,0 +1,11 @@
---
pgadmin4_packages:
- gcc
- postgresql
- postgresql-devel
- python3-virtualenv
- python3-pip
- python-setuptools # Needed for pip install expect
- python-pip # Also needed to install expect
- krb5-devel

@ -0,0 +1,10 @@
---
pgadmin4_packages:
- gcc
- postgresql
- postgresql-devel
- python3-virtualenv
- python3-pip
- python3-setuptools # Needed for pip install expect
- krb5-devel

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: pma tags: pma

@ -0,0 +1,7 @@
---
pma_packages:
- unzip
- MySQL-python
- mariadb
- acl

@ -0,0 +1,6 @@
---
pma_packages:
- unzip
- mariadb
- acl

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
- vars/defaults.yml - vars/defaults.yml

@ -0,0 +1,7 @@
---
pg_packages:
- postgresql{{ (pg_version != 'default') | ternary(pg_version | string,'') }}
- postgresql{{ (pg_version != 'default') | ternary(pg_version | string,'') }}-server
- postgresql{{ (pg_version != 'default') | ternary(pg_version | string,'') }}-contrib
- python-psycopg2

@ -0,0 +1,7 @@
---
pg_packages:
- postgresql{{ (pg_version != 'default') | ternary(pg_version | string,'') }}
- postgresql{{ (pg_version != 'default') | ternary(pg_version | string,'') }}-server
- postgresql{{ (pg_version != 'default') | ternary(pg_version | string,'') }}-contrib
- python3-psycopg2

@ -0,0 +1,29 @@
---
- name: Configure repositories
yum_repository:
file: "{{ item.file }}"
description: "CentOS {{ item.name }}"
name: "{{ item.name }}"
baseurl: https://repo.almalinux.org/almalinux/$releasever/{{ item.dir }}/$basearch/os/
gpgcheck: True
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
enabled: "{{ item.enabled | default(True) }}"
loop:
- name: baseos
file: almalinux
dir: BaseOS
- name: appstream
file: almalinux
dir: AppStream
- name: extras
file: almalinux
dir: extras
- name: powertools
file: almalinux-powertools
dir: PowerTools
tags: repo
- include: epel_{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- include: fws_{{ ansible_os_family }}.yml
- include: postgres_client_{{ ansible_os_family }}.yml

@ -0,0 +1,51 @@
---
- name: Configure base repositories
yum_repository:
file: CentOS-Base
description: "Centos - {{ item.repo }}"
name: "{{ item.repo }}"
baseurl: http://mirror.centos.org/centos/$releasever/{{ item.dir }}/$basearch/
gpgcheck: True
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
exclude: 'lasso*'
loop:
- repo: base
dir: os
- repo: updates
dir: updates
- repo: extras
dir: extras
tags: repo
- name: Configure centosplus
yum_repository:
file: CentOS-Base
description: "Centos - centosplus"
name: centosplus
baseurl: http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck: True
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled: False
tags: repo
- name: Install yum priorities plugin
yum:
name:
- yum-plugin-priorities
tags: repo
- name: Remove obsolete repo
file: path=/etc/yum.repos.d/{{ item }}.repo state=absent
loop:
- nux-dextop
- seadrive
- remi-safe
- redis
- fws-extra-nginx
- CentOS-Linux-BaseOS
tags: repo
- include: epel_{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- include: fws_{{ ansible_os_family }}.yml
- include: postgres_client_{{ ansible_os_family }}.yml

@ -0,0 +1,125 @@
---
- when: not repo_centos_stream
block:
- name: Configure repositories
yum_repository:
file: "{{ item.file }}"
description: "CentOS {{ item.name }}"
name: "{{ item.name }}"
baseurl: http://mirror.centos.org/$contentdir/$releasever/{{ item.dir }}/$basearch/os/
gpgcheck: True
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
enabled: "{{ item.enabled | default(True) }}"
loop:
- name: baseos
file: CentOS-Linux-Base
dir: BaseOS
- name: appstream
file: CentOS-Linux-AppStream
dir: AppStream
- name: plus
file: CentOS-Linux-Plus
dir: centosplus
enabled: False
- name: extras
file: CentOS-Linux-Extras
dir: extras
- name: powertools
file: CentOS-Linux-PowerTools
dir: PowerTools
- name: Remove Base file
file: path=/etc/yum.repos.d/{{ item }}.repo state=absent
loop:
- CentOS-Stream-AppStream
- CentOS-Stream-Base
- CentOS-Stream-ContinuousRelease
- CentOS-Stream-Debuginfo
- CentOS-Stream-Devel
- CentOS-Stream-Extras
- CentOS-Stream-FastTrack
- CentOS-Stream-centosplus
- CentOS-Stream-PowerTools
# Waiting for the allowerasing args to dnf module, landing in ansible 2.10
- name: Switch to centos-linux-repos
shell: rpm -q centos-linux-repos || dnf install centos-linux-repos -y --allowerasing
args:
warn: False
changed_when: False
tags: repo
- when: repo_centos_stream
block:
- name: Check if stream variable is set
copy: content={{ item.content }} dest={{ item.dest }}
loop:
- content: "{{ ansible_distribution_major_version }}-stream"
dest: /etc/dnf/vars/stream
- name: Configure repositories
yum_repository:
file: "{{ item.file }}"
description: "CentOS {{ item.name }}"
name: "{{ item.name }}"
baseurl: http://mirror.centos.org/$contentdir/$stream/{{ item.dir }}/$basearch/os/
gpgcheck: True
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
loop:
- name: baseos
file: CentOS-Stream-BaseOS
dir: BaseOS
- name: appstream
file: CentOS-Stream-AppStream
dir: AppStream
- name: extras
file: CentOS-Stream-Extras
dir: extras
- name: powertools
file: CentOS-Stream-PowerTools
dir: PowerTools
- name: Remove Base file
file: path=/etc/yum.repos.d/{{ item }}.repo state=absent
loop:
- CentOS-Linux-AppStream
- CentOS-Linux-BaseOS
- CentOS-Linux-Base
- CentOS-Linux-ContinuousRelease
- CentOS-Linux-Debuginfo
- CentOS-Linux-Devel
- CentOS-Linux-Extras
- CentOS-Linux-FastTrack
- CentOS-Linux-centosplus
- CentOS-Linux-Plus
- CentOS-Linux-PowerTools
# Waiting for the allowerasing args to dnf module, landing in ansible 2.10
- name: Switch to centos-stream-repos
shell: rpm -q centos-stream-repos || dnf install centos-stream-repos -y --allowerasing
args:
warn: False
changed_when: False
tags: repo
- name: Remove old repo files
file: path=/etc/yum.repos.d/{{ item }}.repo state=absent
loop:
- CentOS-Base
- CentOS-CR
- CentOS-Extras
- CentOS-BaseOS
- CentOS-AppStream
- CentOS-PowerTools
- CentOS-centosplus
- CentOS-cr
- CentOS-extras
- CentOS-fasttrack
tags: repo
- include: epel_{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- include: fws_{{ ansible_os_family }}.yml
- include: postgres_client_{{ ansible_os_family }}.yml

@ -0,0 +1,11 @@
---
- name: Configure EPEL repository
yum_repository:
name: epel
description: "Extra Package for Enterprise Linux"
baseurl: http://mirrors.ircam.fr/pub/fedora/epel/$releasever/$basearch http://mir01.syntis.net/epel/$releasever/$basearch
gpgcheck: True
gpgkey: https://mir01.syntis.net/epel/RPM-GPG-KEY-EPEL-7
exclude: dehydrated
tags: repo

@ -0,0 +1,20 @@
---
- name: Configure EPEL repository
yum_repository:
name: epel
description: "Extra Package for Enterprise Linux"
baseurl: http://mirrors.ircam.fr/pub/fedora/epel/$releasever/Everything/$basearch http://mir01.syntis.net/epel/$releasever/Everything/$basearch
gpgcheck: True
gpgkey: https://mir01.syntis.net/epel/RPM-GPG-KEY-EPEL-8
exclude: dehydrated
tags: repo
- name: Config EPEL Modular repository
yum_repository:
name: epel-modular
description: "Extra Packages for Enterprise Linux Modular $releasever - $basearch"
baseurl: http://mirrors.ircam.fr/pub/fedora/epel/$releasever/Modular/$basearch http://mir01.syntis.net/epel/$releasever/Modular/$basearch
gpgcheck: True
gpgkey: https://mir01.syntis.net/epel/RPM-GPG-KEY-EPEL-8
tags: repo

@ -0,0 +1,22 @@
---
- name: Configure FWS repository
yum_repository:
name: fws
description: "Firewall Services"
baseurl: http://repo.firewall-services.com/centos/$releasever/
gpgcheck: True
gpgkey: http://repo.firewall-services.com/RPM-GPG-KEY
tags: repo
- name: Configure FWS Testing repository
yum_repository:
name: fws-testing
description: "Firewall Services Testing"
file: fws
baseurl: http://repo.firewall-services.com/centos-testing/$releasever/
gpgcheck: True
gpgkey: http://repo.firewall-services.com/RPM-GPG-KEY
enabled: False
tags: repo

@ -1,43 +1,12 @@
--- ---
- include_tasks: base_{{ ansible_distribution }}{{ ansible_distribution_major_version }}.yml - include: '{{ repo_item }}'
with_first_found:
- '{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml'
- '{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml'
- '{{ ansible_distribution }}.yml'
- '{{ ansible_os_family }}.yml'
loop_control:
loop_var: repo_item
tags: repo tags: repo
- include_tasks: epel_{{ ansible_distribution }}{{ ansible_distribution_major_version }}.yml
tags: repo
- name: Configure FWS repository
yum_repository:
name: fws
description: "Firewall Services"
baseurl: http://repo.firewall-services.com/centos/$releasever/
gpgcheck: True
gpgkey: http://repo.firewall-services.com/RPM-GPG-KEY
tags: repo
- name: Configure FWS Testing repository
yum_repository:
name: fws-testing
description: "Firewall Services Testing"
file: fws
baseurl: http://repo.firewall-services.com/centos-testing/$releasever/
gpgcheck: True
gpgkey: http://repo.firewall-services.com/RPM-GPG-KEY
enabled: False
tags: repo
- name: Configure latest PostgreSQL repository
template: src=postgresql-client.repo.j2 dest=/etc/yum.repos.d/postgresql-client.repo
tags: repo
- name: Remove obsolete repo
file: path=/etc/yum.repos.d/{{ item }}.repo state=absent
loop:
- nux-dextop
- seadrive
- remi-safe
- redis
- fws-extra-nginx
- CentOS-Linux-BaseOS
tags: repo
...

@ -0,0 +1,5 @@
---
- name: Configure latest PostgreSQL repository
template: src=postgresql-client.repo.j2 dest=/etc/yum.repos.d/postgresql-client.repo
tags: repo

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
- vars/defaults.yml - vars/defaults.yml

@ -0,0 +1,3 @@
---
repo_remi_gpg_url: https://rpms.remirepo.net/RPM-GPG-KEY-remi

@ -0,0 +1,3 @@
---
repo_remi_gpg_url: https://rpms.remirepo.net/RPM-GPG-KEY-remi2018

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: rsync tags: rsync

@ -0,0 +1,5 @@
---
rsync_packages:
- rsync
- libsemanage-python

@ -0,0 +1,6 @@
---
rsync_packages:
- rsync
- rsync-daemon
- python3-libsemanage

@ -18,6 +18,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: samba tags: samba

@ -0,0 +1,16 @@
---
samba_common_packages:
- samba
- samba-client
- sssd-winbind-idmap
- openldap-clients
- policycoreutils-python
- tdb-tools
samba_dc_packages:
- samba-dc
- ldb-tools
- krb5-workstation
- python36-markdown
- patch

@ -0,0 +1,16 @@
---
samba_common_packages:
- samba
- samba-client
- sssd-winbind-idmap
- openldap-clients
- policycoreutils-python-utils
- tdb-tools
samba_dc_packages:
- samba-dc
- ldb-tools
- krb5-workstation
- python3-markdown
- patch

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: seafile tags: seafile

@ -0,0 +1,41 @@
---
seafile_packages:
- python3
- python3-setuptools
- python3-pip
- python3-virtualenv
- python3-devel
- gcc
- gcc-c++
- MySQL-python
- ffmpeg
- ffmpeg-devel
- libmemcached-devel
- mysql-devel
- zlib-devel
- gcc
- tar
- mariadb
- fuse
- java-1.8.0-openjdk # For seafile-pro
- poppler-utils # For seafile-pro
- unoconv # For seafile-pro
- python-setuptools # needed for ansible to create the venv
seafile_python_libs:
- Pillow
- pylibmc
- captcha
- jinja2
- sqlalchemy
- psd-tools
- django-pylibmc
- django-simple-captcha
- python3-ldap
- requests_oauthlib
- future
- mysqlclient==2.0.1
seafile_rm_libs:
- libnssutil3.so

@ -0,0 +1,43 @@
---
seafile_packages:
- python3
- python3-setuptools
- python3-pip
- python3-virtualenv
- python3-mysql
- python3-devel
- gcc
- gcc-c++
- ffmpeg
- ffmpeg-devel
- libmemcached-devel
- mysql-devel
- zlib-devel
- gcc
- tar
- mariadb
- fuse
- java-1.8.0-openjdk # For seafile-pro
- poppler-utils # For seafile-pro
- unoconv # For seafile-pro
- python3-setuptools # needed for ansible to create the venv
seafile_python_libs:
- Pillow
- pylibmc
- captcha
- jinja2
- sqlalchemy
- psd-tools
- django-pylibmc
- django-simple-captcha
- python3-ldap
- requests_oauthlib
- future
- mysqlclient
seafile_rm_libs:
- liblber-2.4.so.2
- libldap-2.4.so.2
- libsasl2.so.3

@ -95,6 +95,7 @@ squid_base_acl:
- '"/etc/squid/acl/service_various.domains"' - '"/etc/squid/acl/service_various.domains"'
- '"/etc/squid/acl/software_epel.domains"' - '"/etc/squid/acl/software_epel.domains"'
- '"/etc/squid/acl/software_centos.domains"' - '"/etc/squid/acl/software_centos.domains"'
- '"/etc/squid/acl/software_almalinux.domains"'
- '"/etc/squid/acl/software_debian.domains"' - '"/etc/squid/acl/software_debian.domains"'
- '"/etc/squid/acl/software_various.domains"' - '"/etc/squid/acl/software_various.domains"'
- '"/etc/squid/acl/software_smeserver.domains"' - '"/etc/squid/acl/software_smeserver.domains"'

@ -0,0 +1,10 @@
mirrors.almalinux.org
repo.almalinux.org
mirror.crexio.com
mirror.almalinux.ikoula.com
almalinux.li
almalinux.mirrors.itworxx.de
almalinux.mirror.liteserver.nl
almalinux.uib.no
almalinux.slaskdatacenter.com
almalinux.mirror.katapult.io

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
- vars/defaults.yml - vars/defaults.yml

@ -0,0 +1,6 @@
---
ttrss_packages:
- git
- MySQL-python
- mariadb

@ -0,0 +1,6 @@
---
ttrss_packages:
- git
- python3-mysql
- mariadb

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: unifi tags: unifi

@ -0,0 +1,6 @@
---
unifi_packages:
- java-1.8.0-openjdk-headless
- mongodb-org-server
- mongodb-org

@ -0,0 +1,6 @@
---
unifi_packages:
- java-1.8.0-openjdk-headless
- mongodb-org-server
- mongodb-org

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: wapt tags: wapt

@ -0,0 +1,7 @@
---
wapt_packages:
- tis-waptserver
- tis-waptsetup
- postgresql13
- python-psycopg2 # Needed to manage PG with ansible

@ -0,0 +1,7 @@
---
wapt_packages:
- tis-waptserver
# - tis-waptsetup
- postgresql13
- python3-psycopg2 # Needed to manage PG with ansible

@ -3,6 +3,7 @@
- include_vars: "{{ item }}" - include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml - vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml - vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml - vars/{{ ansible_os_family }}.yml
tags: zabbix tags: zabbix

@ -0,0 +1,7 @@
---
zabbix_agent_packages:
- zabbix-agent
- zabbix-agent-addons
- policycoreutils-python
- openssl

@ -0,0 +1,8 @@
---
zabbix_agent_packages:
- zabbix-agent
- zabbix-agent-addons
- policycoreutils-python-utils
- openssl
Loading…
Cancel
Save