copr and jenkins use base but shouldn't try and log to log01 as they are in the cloud network.

This commit is contained in:
Kevin Fenzi 2016-01-31 03:49:08 +00:00
parent df6c10f405
commit 2f789b0e98

View file

@ -244,7 +244,7 @@
- name: log everything to log01 except on mirrorlist, do not log local4 there.
copy: src=rsyslog/rsyslog-log01 dest=/etc/rsyslog.d/rsyslog-log01.conf mode=644
when: not inventory_hostname.startswith('mirrorlist')
when: not inventory_hostname.startswith('mirrorlist') or not inventory_hostname.startswith('copr') or not inventory_hostname.startswith('jenkins')
tags:
- rsyslogd
- config