
Partially implements: blueprint heka Change-Id: I1322d2dc870e6f8fe052926995d993e8a08a25db
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
---
|
|
- name: Ensuring config directories exist
|
|
file:
|
|
path: "{{ node_config_directory }}/{{ item }}"
|
|
state: "directory"
|
|
recurse: yes
|
|
with_items:
|
|
- "heka"
|
|
|
|
- name: Copying over config.json files for services
|
|
template:
|
|
src: "{{ item }}.json.j2"
|
|
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
|
with_items:
|
|
- "heka"
|
|
|
|
- name: Copying over heka config files
|
|
template:
|
|
src: "heka-{{ item }}.toml.j2"
|
|
dest: "{{ node_config_directory }}/heka/heka-{{ item }}.toml"
|
|
with_items:
|
|
- "global"
|
|
- "haproxy"
|
|
- "rabbitmq"
|
|
- "openstack"
|
|
- "mariadb"
|
|
- "keystone"
|
|
|
|
- name: Copying over heka swift config files
|
|
template:
|
|
src: "heka-swift.toml.j2"
|
|
dest: "{{ node_config_directory }}/heka/heka-{{ item }}.toml"
|
|
with_items:
|
|
- "swift-account-auditor"
|
|
- "swift-account-reaper"
|
|
- "swift-account-replicator"
|
|
- "swift-account-server"
|
|
- "swift-container-auditor"
|
|
- "swift-container-replicator"
|
|
- "swift-container-server"
|
|
- "swift-container-updater"
|
|
- "swift-object-auditor"
|
|
- "swift-object-expirer"
|
|
- "swift-object-replicator"
|
|
- "swift-object-server"
|
|
- "swift-object-updater"
|
|
- "swift-proxy-server"
|
|
- "swift-rsyncd"
|