Make nomad restart playbook more resilient

This commit is contained in:
IamTheFij 2024-02-13 12:00:24 -08:00
parent 0e168376b8
commit 2528dafcc6
1 changed files with 7 additions and 1 deletions

View File

@ -14,8 +14,14 @@
state: restarted state: restarted
become: true become: true
- name: Start Dockee
systemd:
name: docker
state: started
become: true
- name: Start Nomad - name: Start Nomad
systemd: systemd:
name: nomad name: nomad
state: stopped state: started
become: true become: true