mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2023-03-08 21:00
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
- dir: data
|
||||
owner: "{{ nomad_user }}"
|
||||
group: "{{ nomad_user }}"
|
||||
mode: 700
|
||||
- dir: plugins
|
||||
owner: "{{ nomad_user }}"
|
||||
group: "{{ nomad_user }}"
|
||||
|
@@ -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