summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_fluentd/tasks/main.yaml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-06 15:10:10 -0400
committerGitHub <noreply@github.com>2017-07-06 15:10:10 -0400
commit99ff4fdca9a24a1d5e3953fc7836aee898e62101 (patch)
tree0be6c29d72cd0510a641a7af9cda0a0bbe68fcc8 /roles/openshift_logging_fluentd/tasks/main.yaml
parent7787e84fc2d10d1aa0a238999cf323a1e709550a (diff)
parentc9e92b47333d22a3cf47e76ac7248deb23263500 (diff)
downloadopenshift-99ff4fdca9a24a1d5e3953fc7836aee898e62101.tar.gz
openshift-99ff4fdca9a24a1d5e3953fc7836aee898e62101.tar.bz2
openshift-99ff4fdca9a24a1d5e3953fc7836aee898e62101.tar.xz
openshift-99ff4fdca9a24a1d5e3953fc7836aee898e62101.zip
Merge pull request #4696 from richm/bug-1466152
Bug 1466152 - Json-file log driver: Neither "openshift_logging_fluentd_use_journal=false" nor omitted collects the log entries
Diffstat (limited to 'roles/openshift_logging_fluentd/tasks/main.yaml')
-rw-r--r--roles/openshift_logging_fluentd/tasks/main.yaml18
1 files changed, 7 insertions, 11 deletions
diff --git a/roles/openshift_logging_fluentd/tasks/main.yaml b/roles/openshift_logging_fluentd/tasks/main.yaml
index 30b596e22..55de2ae8d 100644
--- a/roles/openshift_logging_fluentd/tasks/main.yaml
+++ b/roles/openshift_logging_fluentd/tasks/main.yaml
@@ -15,19 +15,15 @@
msg: Invalid deployment type, one of ['hosted', 'secure-aggregator', 'secure-host'] allowed
when: not openshift_logging_fluentd_deployment_type in __allowed_fluentd_types
-- include: determine_version.yaml
+- debug:
+ msg: openshift_logging_fluentd_use_journal is deprecated. Fluentd will automatically detect which logging driver is being used.
+ when: openshift_logging_fluentd_use_journal is defined
-- set_fact:
- openshift_logging_fluentd_use_journal: "{{ openshift_hosted_logging_use_journal }}"
- when:
- - openshift_hosted_logging_use_journal is defined
- - openshift_logging_fluentd_use_journal is not defined
+- debug:
+ msg: openshift_hosted_logging_use_journal is deprecated. Fluentd will automatically detect which logging driver is being used.
+ when: openshift_hosted_logging_use_journal is defined
-- set_fact:
- openshift_logging_fluentd_use_journal: "{{ __fluentd_use_journal }}"
- when:
- - openshift_hosted_logging_use_journal is not defined
- - openshift_logging_fluentd_use_journal is not defined
+- include: determine_version.yaml
# allow passing in a tempdir
- name: Create temp directory for doing work in