sync roles with changes from OWS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user