kolla-ansible/ansible/roles/mariadb/tasks/config.yml
rthallisey 7088e885f8 Replace config-external with a JSON file for Galera
Change-Id: I82abc9a31571376679c4f463f5a6ae77a49ec2f6
Partially-Implements: blueprint replace-config-external
2015-09-16 10:33:29 -04:00

15 lines
467 B
YAML

---
- include: ../../config.yml
vars:
service_name: "mariadb"
config_source:
- "roles/mariadb/templates/galera.cnf.j2"
config_template_dest:
- "{{ node_templates_directory }}/mariadb/galera.cnf_minimal"
config_dest: "{{ node_config_directory }}/mariadb/galera.cnf"
- name: Copying Mariadb JSON configuration file
template:
src: "roles/mariadb/templates/mariadb.json.j2"
dest: "{{ node_config_directory }}/mariadb/config.json"