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

@ -7,7 +7,7 @@
state: present
- name: Run shell command "pg_config --version" to extract MAJOR version number -- strip off MINOR/PATCH version number(s)
shell: pg_config --version | sed 's/^[^0-9]*//' | sed 's/[^0-9].*//'
shell: pg_config --version | sed 's/^[^0-9]*//; s/[^0-9].*//'
register: pg_config_version
- name: 'Dynamically set Ansible var "postgresql_version: {{ pg_config_version.stdout }}"'