Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from f500/SupportPhp73
Browse files Browse the repository at this point in the history
Support PHP 7.3
  • Loading branch information
mjmeijerman authored Mar 4, 2019
2 parents 2cc215d + 49815f5 commit b424915
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Role Variables

All role variables are displayed with their default value.

Specify the version of PHP you want to use (`7.0`, `7.1` or `7.2`):
Specify the version of PHP you want to use (`7.0`, `7.1`, `7.2` or `7.3`):

php7_version: 7.1
php7_version: 7.3

CLI is always installed. You can also install the Apache2 module, CGI binary and/or FPM binary:

Expand Down Expand Up @@ -155,7 +155,7 @@ Example Playbook

- hosts: servers
roles:
- { role: f500.php7, php7_version: 7.2, php7_enable_fpm: yes }
- { role: f500.php7, php7_version: 7.3, php7_enable_fpm: yes }

License
-------
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

php7_version: 7.1
php7_version: 7.3

php7_enable_apache: no
php7_enable_cgi: no
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

- name: Validate version value
fail:
msg: "The value of php7_version must be 7.0, 7.1 or 7.2"
when: php7_version not in [7.0, 7.1, 7.2]
msg: "The value of php7_version must be 7.0, 7.1, 7.2 or 7.3"
when: php7_version not in [7.0, 7.1, 7.2, 7.3]

- name: Install packages needed to use the deb.sury.org repository
apt:
Expand Down

0 comments on commit b424915

Please sign in to comment.