mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
11 lines
360 B
YAML
11 lines
360 B
YAML
---
|
|
|
|
- name: Start and enable nomad service
|
|
service: name=nomad state=started enabled=True
|
|
register: nomad_service_started
|
|
tags: nomad
|
|
|
|
- name: Handle consul-template-nomad service
|
|
service: name=consul-template-nomad state={{ nomad_vault.enabled | ternary('started', 'stopped') }} enabled={{ nomad_vault.enabled | ternary(True, False) }}
|
|
tags: nomad
|