11 lines
368 B
YAML
Raw Normal View History

2022-07-21 01:00:17 +02:00
---
- name: Start and enable nomad service
service: name=nomad state=started enabled=True
register: nomad_service_started
tags: nomad
2022-09-02 18:00:22 +02:00
- name: Handle consul-template-nomad service
2022-09-04 00:00:24 +02:00
service: name=consul-template-nomad state={{ nomad_vault_tls.enabled | ternary('started', 'stopped') }} enabled={{ nomad_vault_tls.enabled | ternary(True, False) }}
2022-09-02 18:00:22 +02:00
tags: nomad