forked from jakub/ansible
Update mikrotikbackup_clean.yml
This commit is contained in:
@@ -70,13 +70,13 @@
|
|||||||
installed_version: >-
|
installed_version: >-
|
||||||
{{
|
{{
|
||||||
(update_check.stdout | join('\n'))
|
(update_check.stdout | join('\n'))
|
||||||
| regex_findall('installed-version: ([0-9.]+)')
|
| regex_findall('installed-version:\\s*([0-9.]+)')
|
||||||
| first
|
| first
|
||||||
}}
|
}}
|
||||||
latest_version: >-
|
latest_version: >-
|
||||||
{{
|
{{
|
||||||
(update_check.stdout | join('\n'))
|
(update_check.stdout | join('\n'))
|
||||||
| regex_findall('latest-version: ([0-9.]+)')
|
| regex_findall('latest-version:\\s*([0-9.]+)')
|
||||||
| first
|
| first
|
||||||
}}
|
}}
|
||||||
tags: [upgrade, never]
|
tags: [upgrade, never]
|
||||||
|
|||||||
Reference in New Issue
Block a user