mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
14 lines
387 B
YAML
14 lines
387 B
YAML
---
|
|
|
|
- name: restart nomad
|
|
service: name=nomad state=restarted
|
|
when: nomad_service_started is not defined or not nomad_service_started.changed
|
|
throttle: 1
|
|
|
|
- name: reload nomad
|
|
service: name=nomad state=reloaded
|
|
when: nomad_service_started is not defined or not nomad_service_started.changed
|
|
|
|
- name: restart nomad-vault-agent
|
|
service: name=nomad-vault-agent state=restarted
|