From a44c031ac87ae3dbb023bfeb94fd8450ab6af44b Mon Sep 17 00:00:00 2001 From: Henri Ky Date: Thu, 14 Dec 2023 15:16:22 +0100 Subject: [PATCH] fix(ranger_usersync): core-site.xml files owners permissions modified --- roles/ranger/usersync/tasks/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/ranger/usersync/tasks/config.yml b/roles/ranger/usersync/tasks/config.yml index 8f0ef76a..ce4ebe40 100644 --- a/roles/ranger/usersync/tasks/config.yml +++ b/roles/ranger/usersync/tasks/config.yml @@ -18,6 +18,14 @@ args: chdir: "{{ ranger_usersync_install_dir }}" +- name: Fix issue !826 - core-site.xml file's owners and permissions + ansible.builtin.file: + path: "{{ hadoop_root_conf_dir }}/conf/core-site.xml" + state: file + owner: "root" + group: "root" + mode: "0644" + - name: Render log4j.properties ansible.builtin.template: src: log4j.properties.j2