Make sure the nomad agent is running on boot
This commit is contained in:
1 parent
e03daa62e5
commit
5a1afb4a07
1 file changed
+6
-1
@@ -31,4 +31,9 @@
|
|||||||
update_cache: true
|
update_cache: true
|
||||||
- name: Install nomad package
|
- name: Install nomad package
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
pkg: nomad
|
pkg: nomad
|
||||||
|
- name: Make sure the nomad service is available
|
||||||
|
ansible.builtin.systemd_service:
|
||||||
|
name: nomad
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
Reference in new issue
Block a user