jdbc_driver_config.yml
1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
# tasks file for jboss
# datasources configs
- name: Create modules directory structure
file:
path: "{{ jboss_home }}{{ item.location }}"
state: directory
owner: "{{ system_user }}"
group: "{{ system_user }}"
loop: "{{ jboss_jdbc_module }}"
tags:
- create_module_structure
- jdbc_driver_config_yml
- name: copy the driver config xml config
copy:
src: templates/{{ item.file }}
dest: "{{ jboss_home }}/{{ item.location }}{{ item.name }}"
owner: "{{ system_user }}"
group: "{{ system_user }}"
mode: '0644'
#notify: restart jboss
loop: "{{ jboss_jdbc_module }}"
tags:
- copy_jdbc_driver_config
- jdbc_driver_config_yml
- name: copy the driver jar file
copy:
src: "{{ pkg_location | default('files/') }}{{ item.name }}"
dest: "{{ jboss_home }}/{{ item.location }}"
owner: "{{ system_user }}"
group: "{{ system_user }}"
mode: '0644'
#notify: restart jboss
loop: "{{ jboss_jdbc_drivers }}"
tags:
- copy_driver_jar
- jdbc_driver_config_yml