diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-10-26 13:58:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 13:58:11 -0400 |
commit | 976e4ac9a50c8d87edc868b861b8ee96f9228fe2 (patch) | |
tree | b0f068d3087d14ad3c6dedc44075bf3544d48c25 | |
parent | 6d3f9ab2473fb6f69974fd770bc9ae3fb4952b98 (diff) | |
parent | b31b6ebca5ca916776f4222fab1dadfb940afac7 (diff) | |
download | openshift-976e4ac9a50c8d87edc868b861b8ee96f9228fe2.tar.gz openshift-976e4ac9a50c8d87edc868b861b8ee96f9228fe2.tar.bz2 openshift-976e4ac9a50c8d87edc868b861b8ee96f9228fe2.tar.xz openshift-976e4ac9a50c8d87edc868b861b8ee96f9228fe2.zip |
Merge pull request #5882 from mgugino-upstream-stage/persistent-journald-logs
Ensure journald persistence directories exist
-rw-r--r-- | roles/openshift_master/tasks/journald.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/journald.yml b/roles/openshift_master/tasks/journald.yml index f79955e95..e2edd5ef4 100644 --- a/roles/openshift_master/tasks/journald.yml +++ b/roles/openshift_master/tasks/journald.yml @@ -3,6 +3,11 @@ stat: path=/etc/systemd/journald.conf register: journald_conf_file +- name: Create journald persistence directories + file: + path: /var/log/journal + state: directory + - name: Update journald setup replace: dest: /etc/systemd/journald.conf |