We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 244aa64 commit 9060664Copy full SHA for 9060664
.ansible-lint
@@ -5,3 +5,4 @@ skip_list:
5
- empty-lines
6
- fqcn-builtins
7
- package-latest
8
+ - 'name[template]' # Jinja templates should only be at the end of ‘name’.
tasks/main.yml
@@ -5,9 +5,6 @@
- name: Install as service
include_tasks: service.yml
-- name: Flush handlers before wait
9
- meta: flush_handlers
10
-
11
- name: Wait until appication {{ springboot_application_name }} is available ({{ springboot_application_url }})
12
uri:
13
url: "{{ springboot_application_url }}/actuator/health"
tasks/service.yml
@@ -16,3 +16,8 @@
16
group: "{{ springboot_group }}"
17
notify:
18
- Restart application
19
+
20
+- name: Restart service
21
+ ansible.builtin.service:
22
+ name: "{{ springboot_application_name }}"
23
+ state: restarted
0 commit comments