From 53e80f739ac7b0f7a6621613120f672cd0c0bc98 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 24 Sep 2021 19:00:06 +0200 Subject: [PATCH] Update to 2021-09-24 19:00 --- roles/zimbra/defaults/main.yml | 8 ++++---- roles/zimbra/tasks/main.yml | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/roles/zimbra/defaults/main.yml b/roles/zimbra/defaults/main.yml index 4e9a958..f37b39e 100644 --- a/roles/zimbra/defaults/main.yml +++ b/roles/zimbra/defaults/main.yml @@ -70,10 +70,10 @@ zcs_domain_defaults: # Additional libs needed for CAS zcs_cas_libs: - - url: https://repo1.maven.org/maven2/org/jasig/cas/client/cas-client-core/3.5.1/cas-client-core-3.5.1.jar - sha1: b2a80ae61c57b4552c1c4573bb3a896c62c0f6f2 - - url: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.28/slf4j-api-1.7.28.jar - sha1: 2cd9b264f76e3d087ee21bfc99305928e1bdb443 + - url: https://repo1.maven.org/maven2/org/jasig/cas/client/cas-client-core/3.6.2/cas-client-core-3.6.2.jar + sha1: ccb636b9b8d8c048b4dd14b0b0627350def5e3a2 + - url: https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar + sha1: cdcff33940d9f2de763bc41ea05a0be5941176c3 # If defined, will add an always_bcc directive on MTA servers # zcs_always_bcc: maillog@example.org diff --git a/roles/zimbra/tasks/main.yml b/roles/zimbra/tasks/main.yml index 799596f..39578ea 100644 --- a/roles/zimbra/tasks/main.yml +++ b/roles/zimbra/tasks/main.yml @@ -147,12 +147,15 @@ notify: restart rsyslog tags: zcs -- name: Set correct SELinux context on logs +- name: Set correct SELinux context block: - sefcontext: target: "/opt/zimbra/log(/.*)?" setype: var_log_t - - command: restorecon -R /opt/zimbra/log + - sefcontext: + target: "/etc/rc.d/init.d/zimbra" + setype: bin_t + - command: restorecon -R /opt/zimbra/log /etc/rc.d/init.d/zimbra changed_when: False when: ansible_selinux.status == 'enabled' tags: zcs