From b57c46cf0ada26ea7d370ddee3681f21e0ef993a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 17 Nov 2020 16:26:16 +0100 Subject: [PATCH] distribute-validators: adjust ownership before chmod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/roles/distribute-validators/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible/roles/distribute-validators/tasks/main.yml b/ansible/roles/distribute-validators/tasks/main.yml index 048019b..09ae57e 100644 --- a/ansible/roles/distribute-validators/tasks/main.yml +++ b/ansible/roles/distribute-validators/tasks/main.yml @@ -70,6 +70,11 @@ args: chdir: '{{ dist_validators_secrets_path }}' +- name: Adjust folder owner and group + command: chown dockremap:docker -R {{ dist_validators_data_path }} + args: + warn: false + - name: Adjust validators dir permissions shell: chmod 0700 -R {{ dist_validators_data_path }}/validators/* args: