1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Wildfly didn't start because of some permission problems. (#718)

This commit is contained in:
Felix Fontein 2020-07-31 13:47:38 +02:00 committed by GitHub
parent 291ceffecb
commit bac14c2f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,19 +58,22 @@
copy: copy:
src: wildfly.conf src: wildfly.conf
dest: '{{ wf_homedir }}/wildfly.conf' dest: '{{ wf_homedir }}/wildfly.conf'
mode: "0644"
- name: Create launcher - name: Create launcher
template: template:
src: launch.sh.j2 src: launch.sh.j2
dest: '{{ wf_homedir }}/bin/launch.sh' dest: '{{ wf_homedir }}/bin/launch.sh'
mode: "0755"
- name: Make scripts executable - name: Make scripts executable
shell: 'chmod +x {{ wf_homedir }}/bin/*.sh' shell: 'chmod +rx {{ wf_homedir }}/bin/*.sh'
- name: Create service file - name: Create service file
template: template:
src: wildfly.service.j2 src: wildfly.service.j2
dest: '{{ wf_service_file_path }}' dest: '{{ wf_service_file_path }}'
mode: "0644"
- name: Create directories for testing the default deploy_path - name: Create directories for testing the default deploy_path
become: yes become: yes