browbeat/ansible/logs/get-overcloud-logs.yml
Sai Sindhur Malleni a8892ecc55 Add opendaylight log collection
Change-Id: Idb4eaf8bd89473a761919dab14a02b0fa0cf8fc6
2018-07-27 15:48:08 +05:30

58 lines
1009 B
YAML

---
- hosts: controller
remote_user: "{{host_remote_user}}"
vars_files:
- ../install/group_vars/all.yml
vars:
services:
- nova
- neutron
- ceilometer
- cinder
- gnocchi
- keystone
- heat
become: true
tags:
- controller
pre_tasks:
- name: Create logs directory
file:
path: /home/{{host_remote_user}}/{{ansible_hostname}}
state: directory
roles:
- osp_version
- common
- glance
- mysql
- rabbitmq
- httpd
- openvswitch
- opendaylight
- common
- fetch-logs
- hosts: compute
remote_user: "{{host_remote_user}}"
vars_files:
- ../install/group_vars/all.yml
vars:
services:
- nova
- neutron
- ceilometer
- libvirt
become: true
tags:
- compute
pre_tasks:
- name: Create logs directory
file:
path: /home/{{host_remote_user}}/{{ansible_hostname}}
state: directory
roles:
- common
- openvswitch
- fetch-logs