From 5d2534f444a6ef4023549b5a65435e72aed9cb75 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Thu, 4 Jan 2018 14:54:12 +0800 Subject: 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 --- .../roles/config-osa/templates/openstack_user_config.yml.j2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'deploy/adapters/ansible/roles/config-osa/templates') 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 -- cgit 1.2.3-korg