2023-06-20 16:45:01 +00:00
|
|
|
- name: Restart nomad and wesher
|
|
|
|
hosts: nomad_instances
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- name: Stop Nomad
|
|
|
|
systemd:
|
|
|
|
name: nomad
|
|
|
|
state: stopped
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Restart wesher
|
|
|
|
systemd:
|
|
|
|
name: wesher
|
|
|
|
state: restarted
|
|
|
|
become: true
|
|
|
|
|
2024-02-13 20:00:24 +00:00
|
|
|
- name: Start Dockee
|
|
|
|
systemd:
|
|
|
|
name: docker
|
|
|
|
state: started
|
|
|
|
become: true
|
|
|
|
|
2023-06-20 16:45:01 +00:00
|
|
|
- name: Start Nomad
|
|
|
|
systemd:
|
|
|
|
name: nomad
|
2024-02-13 20:00:24 +00:00
|
|
|
state: started
|
2023-06-20 16:45:01 +00:00
|
|
|
become: true
|