sync roles with changes from OWS

This commit is contained in:
Oli
2023-10-21 13:13:20 +00:00
parent e14271eab0
commit ccd75528ed
43 changed files with 479 additions and 107 deletions

View File

@@ -1,11 +1,11 @@
---
- name: Add Sury PHP Repository
shell: add-apt-repository -y ppa:ondrej/php
command: add-apt-repository -y ppa:ondrej/php
args:
creates: "/etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list"
when: php_version is defined # add repo when version is specified, otherwise use default repo
- name: "Uninstall old PHP version"
- name: Uninstall old PHP version
apt:
name: "php{{ php_old_version }}*"
state: absent