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:
parent
0a114af24e
commit
b8e0b5e13a
3 changed files with 14 additions and 14 deletions
|
@ -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 }}"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue