kolla-ansible/ansible/roles/horizon/tasks/config.yml
Sam Yaple 4d5186473e Replace config-external - horizon
Change-Id: I72577ee7dd2dfbd199ca91f6f33f970fe1c9c89f
Partially-Implements: blueprint replace-config-external
2015-09-25 11:06:35 +00:00

22 lines
560 B
YAML

---
- name: Ensuring config directory exists
file:
path: "{{ node_config_directory }}/horizon/"
state: "directory"
recurse: "yes"
- name: Copying horizon JSON configuration file
template:
src: "horizon.json.j2"
dest: "{{ node_config_directory }}/horizon/config.json"
- name: Copying over config(s)
template:
src: "horizon.conf.j2"
dest: "{{ node_config_directory }}/horizon/horizon.conf"
- name: Copying over config(s)
template:
src: "local_settings.j2"
dest: "{{ node_config_directory }}/horizon/local_settings"