Skip to content

Commit

Permalink
Fix systemd service to make it able to start (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
popovk206 authored and kostyrev committed Sep 19, 2018
1 parent b60fa6c commit 843b0ad
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,17 @@
- restart wildfly
- change standalone data mode

- name: Copy wildfly systemd unit file
template: src=wildfly.service.j2 dest={{ wildfly_systemd_dir }}/wildfly.service owner=root
group=root mode=0640
- block:
- name: Copy wildfly systemd unit file
template: src=wildfly.service.j2 dest={{ wildfly_systemd_dir }}/wildfly.service owner=root
group=root mode=0640
notify:
- restart wildfly
- change standalone data mode
- name: systemd reload
systemd:
daemon_reload: yes
when: ansible_service_mgr == 'systemd'
notify:
- restart wildfly
- change standalone data mode

- block:
- name: Open wildfly management http tcp port
Expand Down

0 comments on commit 843b0ad

Please sign in to comment.