Exclude 127.0.0.2 from logs collection as localhost

If running quickstart on localhost, we use usually 127.0.0.2 IP
address instead of "localhost". We need to exclude it from logs
collection exactly as localhost. Logs from local host will be
collected according to its role (virthost, undercloud, etc).

Change-Id: I53483fcb1ecc2b548e41a1ac501660392f7661e9
This commit is contained in:
Sagi Shnaidman 2017-09-24 20:22:18 +03:00
parent 30cf0742e0
commit 356bc31545

@ -1,7 +1,7 @@
---
- name: Collect logs
hosts: all:!localhost
hosts: all:!localhost:!127.0.0.2
roles:
- collect-logs