diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/database/tasks/main.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/database/tasks/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/database/tasks/main.yml b/deploy/adapters/ansible/roles/database/tasks/main.yml new file mode 100644 index 00000000..05697730 --- /dev/null +++ b/deploy/adapters/ansible/roles/database/tasks/main.yml @@ -0,0 +1,14 @@ +--- +- include_vars: "{{ ansible_os_family }}.yml" + +- name: copy data.sh + template: src=data.j2 dest=/opt/data.sh mode=777 + tags: + - mysql_user + +- include: mysql.yml + when: HA_CLUSTER is not defined + +- include: mariadb.yml + when: HA_CLUSTER is defined + |