mirror of
https://github.com/geerlingguy/ansible-role-php-versions.git
synced 2024-11-25 10:55:10 +01:00
Create 8.0.yml
This commit is contained in:
parent
4203e796e6
commit
ea9ee71842
24
molecule/default/8.0.yml
Normal file
24
molecule/default/8.0.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: true
|
||||
|
||||
vars:
|
||||
php_enable_webserver: false
|
||||
php_version: '8.0'
|
||||
|
||||
pre_tasks:
|
||||
- name: Update apt cache.
|
||||
apt: update_cache=true cache_valid_time=600
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
roles:
|
||||
- role: geerlingguy.repo-remi
|
||||
when: ansible_os_family == 'RedHat'
|
||||
- role: geerlingguy.php-versions
|
||||
- role: geerlingguy.php
|
||||
|
||||
post_tasks:
|
||||
- name: Confirm PHP version is correct.
|
||||
shell: php -v | grep -F '{{ php_version }}'
|
||||
changed_when: false
|
Loading…
Reference in New Issue
Block a user