mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-03-16 11:02:10 +07:00
Fix travis with dotdeb (Jessie)
This commit is contained in:
@@ -19,7 +19,7 @@ fi
|
||||
ansible --version
|
||||
|
||||
# Check syntax
|
||||
ansible-playbook -i $INVENTORY_FILE -c local --syntax-check -vv $PLAYBOOK
|
||||
ansible-playbook -i $INVENTORY_FILE -c local $ANSIBLE_ARG --syntax-check -vv $PLAYBOOK
|
||||
|
||||
# Check role
|
||||
ansible-playbook -i $INVENTORY_FILE -c local $ANSIBLE_ARG --become -vv $PLAYBOOK
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
---
|
||||
|
||||
# On Debian Jessie, we need Dotdeb for PHP 7.0
|
||||
- hosts: php-7.0
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: HanXHX.dotdeb
|
||||
when: ansible_distribution_major_version | version_compare(8, 'eq')
|
||||
when: >
|
||||
ansible_distribution_major_version | version_compare(8, 'eq') and
|
||||
php_version is defined and
|
||||
php_version | version_compare('7.0', 'ge')
|
||||
|
||||
- hosts: all
|
||||
vars:
|
||||
|
||||
Reference in New Issue
Block a user