diff options
author | Yifei Xue <xueyifei@huawei.com> | 2018-01-04 14:54:12 +0800 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2018-01-09 11:58:38 +0000 |
commit | 5d2534f444a6ef4023549b5a65435e72aed9cb75 (patch) | |
tree | f6b2add7dfa00b6b8ac425c69a5d6546a4e9dd72 /deploy/adapters | |
parent | 1c05ddf7d46751f0e2813c5a06d3958058008488 (diff) |
Open log server of OSA
JIRA: -
Open log server of OpenStack Ansible to collect all of the
logs in each LXC. Then it will be very convenient to debug.
Change-Id: Iafd625a2af4eea04ff7528c9d8007bed1b218822
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'deploy/adapters')
-rw-r--r-- | deploy/adapters/ansible/roles/config-osa/templates/openstack_user_config.yml.j2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/templates/openstack_user_config.yml.j2 b/deploy/adapters/ansible/roles/config-osa/templates/openstack_user_config.yml.j2 index be119fbe..a4f54b43 100644 --- a/deploy/adapters/ansible/roles/config-osa/templates/openstack_user_config.yml.j2 +++ b/deploy/adapters/ansible/roles/config-osa/templates/openstack_user_config.yml.j2 @@ -123,9 +123,11 @@ haproxy_hosts: {% endfor %} # rsyslog server -#log_hosts: - # log1: - # ip: 10.1.0.53 +log_hosts: +{% for host in groups.controller%} + {{host}}: + ip: {{ hostvars[host]['ansible_ssh_host'] }} +{% endfor %} ### ### OpenStack |