diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-01-27 11:28:08 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-01-27 11:28:08 -0500 |
commit | 27c32e83c86339d6cf26afc7dc49c2e1fcf74426 (patch) | |
tree | 5934ee99ad5f32ec45c97e34db1b5b3228904033 | |
parent | bb8983fcfaecec5b156cee99dfe2feca5f8d3800 (diff) | |
download | openshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.tar.gz openshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.tar.bz2 openshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.tar.xz openshift-27c32e83c86339d6cf26afc7dc49c2e1fcf74426.zip |
Configure logrotate on atomic.
-rw-r--r-- | playbooks/common/openshift-etcd/config.yml | 1 | ||||
-rw-r--r-- | playbooks/common/openshift-master/config.yml | 1 | ||||
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 1 | ||||
-rw-r--r-- | roles/nickhammond.logrotate/tasks/main.yml | 1 |
4 files changed, 1 insertions, 3 deletions
diff --git a/playbooks/common/openshift-etcd/config.yml b/playbooks/common/openshift-etcd/config.yml index 9473340a1..d23a54511 100644 --- a/playbooks/common/openshift-etcd/config.yml +++ b/playbooks/common/openshift-etcd/config.yml @@ -89,7 +89,6 @@ roles: - etcd - role: nickhammond.logrotate - when: not openshift.common.is_atomic | bool - 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 cb885d80a..a0d21451f 100644 --- a/playbooks/common/openshift-master/config.yml +++ b/playbooks/common/openshift-master/config.yml @@ -338,7 +338,6 @@ roles: - openshift_master - role: nickhammond.logrotate - when: not openshift.common.is_atomic | bool - role: fluentd_master when: openshift.common.use_fluentd | bool - role: nuage_master diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index 975bfe7b4..dc3c25107 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -214,7 +214,6 @@ - role: nuage_node when: openshift.common.use_nuage | bool - role: nickhammond.logrotate - when: not openshift.common.is_atomic | bool - role: fluentd_node when: openshift.common.use_fluentd | bool tasks: diff --git a/roles/nickhammond.logrotate/tasks/main.yml b/roles/nickhammond.logrotate/tasks/main.yml index 0a0cf1fae..e2c51a903 100644 --- a/roles/nickhammond.logrotate/tasks/main.yml +++ b/roles/nickhammond.logrotate/tasks/main.yml @@ -1,6 +1,7 @@ --- - name: nickhammond.logrotate | Install logrotate action: "{{ ansible_pkg_mgr }} name=logrotate state=present" + when: not openshift.common.is_atomic | bool - name: nickhammond.logrotate | Setup logrotate.d scripts template: |