nextcloud-26, php8.2

This commit is contained in:
s3lph 2023-03-26 01:47:50 +01:00
parent 40d9234635
commit 09ec8d884b
3 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
--- ---
nextcloud_major_version: "25" nextcloud_major_version: "26"
nextcloud_trusted_domains: nextcloud_trusted_domains:
- "cloud.example.org" - "cloud.example.org"

View file

@ -1,6 +1,7 @@
--- ---
php_version: "8.1" php_version: "8.2"
php_use_sury_repo: no
php_ini: php_ini:
PHP: PHP:
@ -13,3 +14,4 @@ php_ini:
opcache.max_accelerated_files: "10000" opcache.max_accelerated_files: "10000"
opcache.revalidate_freq: "60" opcache.revalidate_freq: "60"
opcache.save_comments: "1" opcache.save_comments: "1"

View file

@ -4,11 +4,13 @@
ansible.builtin.apt_key: ansible.builtin.apt_key:
url: https://packages.sury.org/php/apt.gpg url: https://packages.sury.org/php/apt.gpg
keyring: /etc/apt/trusted.gpg.d/packages.sury.org-php.gpg keyring: /etc/apt/trusted.gpg.d/packages.sury.org-php.gpg
when: php_use_sury_repo
- name: Add packages.sury.org - name: Add packages.sury.org
ansible.builtin.apt_repository: ansible.builtin.apt_repository:
filename: packages.sury.org-php.list filename: packages.sury.org-php.list
repo: "deb https://packages.sury.org/php/ {{ ansible_facts.distribution_release }} main" repo: "deb https://packages.sury.org/php/ {{ ansible_facts.distribution_release }} main"
state: "{{ php_use_sury_repo | ternary('present', 'absent') }}"
- name: Install dependencies - name: Install dependencies
ansible.builtin.apt: ansible.builtin.apt: