forked from infra/ansible
librenms: upgrade for bullseye
This commit is contained in:
parent
1de1c7e7ea
commit
d67048b79b
@ -7,20 +7,20 @@
|
|||||||
- git
|
- git
|
||||||
- graphviz
|
- graphviz
|
||||||
- imagemagick
|
- imagemagick
|
||||||
- mtr-tiny
|
|
||||||
- mariadb-server
|
- mariadb-server
|
||||||
|
- mtr-tiny
|
||||||
- nmap
|
- nmap
|
||||||
|
- php-cli
|
||||||
|
- php-curl
|
||||||
|
- php-fpm
|
||||||
|
- php-gd
|
||||||
|
- php-json
|
||||||
|
- php-mbstring
|
||||||
|
- php-mysql
|
||||||
- php-net-ipv4
|
- php-net-ipv4
|
||||||
- php-net-ipv6
|
- php-net-ipv6
|
||||||
- php-pear
|
- php-pear
|
||||||
- php7.3-cli
|
- php-snmp
|
||||||
- php7.3-curl
|
|
||||||
- php7.3-fpm
|
|
||||||
- php7.3-gd
|
|
||||||
- php7.3-json
|
|
||||||
- php7.3-mbstring
|
|
||||||
- php7.3-mysql
|
|
||||||
- php7.3-snmp
|
|
||||||
- python3-dotenv
|
- python3-dotenv
|
||||||
- python3-pymysql
|
- python3-pymysql
|
||||||
- python3-redis
|
- python3-redis
|
||||||
@ -51,8 +51,8 @@
|
|||||||
regexp: ';?date\.timezone'
|
regexp: ';?date\.timezone'
|
||||||
line: 'date.timezone = Europe/Berlin'
|
line: 'date.timezone = Europe/Berlin'
|
||||||
with_items:
|
with_items:
|
||||||
- /etc/php/7.3/cli/php.ini
|
- /etc/php/7.4/cli/php.ini
|
||||||
- /etc/php/7.3/fpm/php.ini
|
- /etc/php/7.4/fpm/php.ini
|
||||||
|
|
||||||
- name: Ensure certificates are available
|
- name: Ensure certificates are available
|
||||||
command: openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/{{ librenms_domain }}.key -out /etc/nginx/ssl/{{ librenms_domain }}.crt -days 730 -subj "/CN={{ librenms_domain }}" creates=/etc/nginx/ssl/{{ librenms_domain }}.crt
|
command: openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/{{ librenms_domain }}.key -out /etc/nginx/ssl/{{ librenms_domain }}.crt -days 730 -subj "/CN={{ librenms_domain }}" creates=/etc/nginx/ssl/{{ librenms_domain }}.crt
|
||||||
@ -76,5 +76,5 @@
|
|||||||
file: src=/etc/nginx/sites-available/librenms dest=/etc/nginx/sites-enabled/librenms state=link
|
file: src=/etc/nginx/sites-available/librenms dest=/etc/nginx/sites-enabled/librenms state=link
|
||||||
notify: Restart nginx
|
notify: Restart nginx
|
||||||
|
|
||||||
- name: Start php7.3-fpm
|
- name: Start php7.4-fpm
|
||||||
service: name=php7.3-fpm state=started enabled=yes
|
service: name=php7.4-fpm state=started enabled=yes
|
||||||
|
@ -31,7 +31,7 @@ server {
|
|||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user