summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorTroy Dawson <tdawson@redhat.com>2015-08-27 15:23:44 -0500
committerTroy Dawson <tdawson@redhat.com>2015-08-27 15:23:44 -0500
commitede0fd9a75f3f0927f95cf542be0cb4a9448c96d (patch)
treed630e3f95ce950fbbfe664075048d63d3278c51d /playbooks/common
parent2483b7767d4e56e41e9890adfffe4bdc1480a11b (diff)
parentf0d03d257f2186c91e99c06e34be737468ea6ad6 (diff)
downloadopenshift-ede0fd9a75f3f0927f95cf542be0cb4a9448c96d.tar.gz
openshift-ede0fd9a75f3f0927f95cf542be0cb4a9448c96d.tar.bz2
openshift-ede0fd9a75f3f0927f95cf542be0cb4a9448c96d.tar.xz
openshift-ede0fd9a75f3f0927f95cf542be0cb4a9448c96d.zip
Merge pull request #518 from tdawson/201508logrotate
Update syslog logrotate to compress and rotate daily
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-etcd/config.yml1
-rw-r--r--playbooks/common/openshift-master/config.yml1
-rw-r--r--playbooks/common/openshift-node/config.yml1
3 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-etcd/config.yml b/playbooks/common/openshift-etcd/config.yml
index 3cc561ba0..952960652 100644
--- a/playbooks/common/openshift-etcd/config.yml
+++ b/playbooks/common/openshift-etcd/config.yml
@@ -85,6 +85,7 @@
when: etcd_server_certs_missing
roles:
- etcd
+ - role: nickhammond.logrotate
- name: Delete temporary directory on localhost
hosts: localhost
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index acf85fc04..ed40d4b89 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -199,6 +199,7 @@
when: master_certs_missing and 'oo_first_master' not in group_names
roles:
- openshift_master
+ - role: nickhammond.logrotate
- role: fluentd_master
when: openshift.common.use_fluentd | bool
post_tasks:
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 705f7f223..e0060a9a3 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -99,6 +99,7 @@
when: certs_missing
roles:
- openshift_node
+ - role: nickhammond.logrotate
- role: fluentd_node
when: openshift.common.use_fluentd | bool
tasks: