2017-01-03 12:41:19 +01:00
|
|
|
---
|
|
|
|
- name: Create bin dir for alias
|
|
|
|
file:
|
|
|
|
path: "{{ tomcat_instance_root }}/{{ tomcat_instance_name }}/bin"
|
|
|
|
state: directory
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0770"
|
2017-01-03 12:41:19 +01:00
|
|
|
owner: "{{ tomcat_instance_name }}"
|
|
|
|
group: "{{ tomcat_instance_name }}"
|
|
|
|
|
|
|
|
- name: Copy alias script for systemctl --user
|
|
|
|
template:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ tomcat_instance_root }}/{{ tomcat_instance_name }}/bin/"
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0770"
|
2017-01-03 12:41:19 +01:00
|
|
|
owner: "{{ tomcat_instance_name }}"
|
|
|
|
group: "{{ tomcat_instance_name }}"
|
|
|
|
with_fileglob:
|
|
|
|
- 'templates/bin/*'
|