summaryrefslogtreecommitdiffstats
path: root/inventory/byo/hosts.ose.example
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-01-28 13:37:49 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-01-28 13:37:49 -0500
commitd31245bd59d7613477695d7f4d49885c243ba712 (patch)
tree475bc42d2e649580e50d515805a9bae26877588b /inventory/byo/hosts.ose.example
parent27c32e83c86339d6cf26afc7dc49c2e1fcf74426 (diff)
downloadopenshift-d31245bd59d7613477695d7f4d49885c243ba712.tar.gz
openshift-d31245bd59d7613477695d7f4d49885c243ba712.tar.bz2
openshift-d31245bd59d7613477695d7f4d49885c243ba712.tar.xz
openshift-d31245bd59d7613477695d7f4d49885c243ba712.zip
Add inventory example for logrotate_scripts
Diffstat (limited to 'inventory/byo/hosts.ose.example')
-rw-r--r--inventory/byo/hosts.ose.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/inventory/byo/hosts.ose.example b/inventory/byo/hosts.ose.example
index ab9a34db3..e44d1abc9 100644
--- a/inventory/byo/hosts.ose.example
+++ b/inventory/byo/hosts.ose.example
@@ -206,6 +206,10 @@ openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true',
# Configure node kubelet arguments
#openshift_node_kubelet_args={'max-pods': ['40'], 'image-gc-high-threshold': ['90'], 'image-gc-low-threshold': ['80']}
+# Configure logrotate scripts
+# See: https://github.com/nickhammond/ansible-logrotate
+#logrotate_scripts=[{"name": "syslog", "path": "/var/log/cron\n/var/log/maillog\n/var/log/messages\n/var/log/secure\n/var/log/spooler\n", "options": ["daily", "rotate 7", "compress", "sharedscripts", "missingok"], "scripts": {"postrotate": "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"}}]
+
# host group for masters
[masters]
ose3-master[1:3]-ansible.test.example.com