mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2022-09-01 17:00
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
creates: "{{ nomad_root_dir }}/archives/{{ nomad_current_version }}/nomad.snap"
|
||||
when:
|
||||
- nomad_conf.server.enabled
|
||||
- nomad_services.ansible_facts.services['nomad.service'] is defined
|
||||
- nomad_services.ansible_facts.services['nomad.service'].state == 'started'
|
||||
- nomad_sys_services.ansible_facts.services['nomad.service'] is defined
|
||||
- nomad_sys_services.ansible_facts.services['nomad.service'].state == 'started'
|
||||
environment:
|
||||
NOMAD_TOKEN: "{{ nomad_mgm_token | default(omit) }}"
|
||||
tags: nomad
|
||||
|
@@ -40,5 +40,5 @@
|
||||
|
||||
- name: Check the state of the services
|
||||
service_facts:
|
||||
register: nomad_services
|
||||
register: nomad_sys_services
|
||||
tags: nomad
|
||||
|
Reference in New Issue
Block a user