1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Ansible output more explanatory

This commit is contained in:
A Holt 2019-07-04 20:13:58 -04:00 committed by GitHub
parent 71956171a8
commit 0b3db7c20f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@
php_new: False
#when: php_version_installed.stdout == "" # WORKS, BUT NOT NEC
- name: Set var 'php_new' indicating if PHP 7.1+ is installed
- name: Set var 'php_new' indicating if installed version of PHP ({{ php_version_installed.stdout }}) >= 7.1, as required by Nextcloud 16
set_fact:
php_new: "{{ php_version_installed.stdout is version('7.1', '>=') }}"
# Ansible's Version Comparison routine: