mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2023-03-08 21:00
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
- when: nomad_bin.stat.exists
|
||||
block:
|
||||
- name: Detect installed version
|
||||
shell: /usr/local/bin/nomad version | perl -pe 's/Nomad v(\d+(\.\d+)*)\s.*/$1/'
|
||||
shell: /usr/local/bin/nomad version | perl -ne '/Nomad v(\d+(\.\d+)*)\s.*/ && print "$1\n"'
|
||||
changed_when: False
|
||||
register: nomad_current_version
|
||||
- set_fact: nomad_current_version={{ nomad_current_version.stdout }}
|
||||
|
Reference in New Issue
Block a user