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

Cleaner sed in nextcloud, postgresql, iiab-diagnostics

This commit is contained in:
root 2022-12-21 14:18:27 -05:00
parent 0a114af24e
commit b8e0b5e13a
3 changed files with 14 additions and 14 deletions

View file

@ -3,7 +3,7 @@
# - name: Try to run 'php -v' to get PHP version
# # e.g. converts multi-line "PHP 7.0.33-0ubuntu0.16.04.5 (cli) ( NTS ) ..." to "7.0.33"
# shell: php -v | head -1 | sed 's/^[^0-9.]*//' | sed 's/[^0-9.].*//'
# shell: php -v | head -1 | sed 's/^[^0-9.]*//; s/[^0-9.].*//'
# register: php_version_installed
# #ignore_errors: yes # NOT NEC: if php is not installed, php_version_installed.stdout will get set to ""