config: fix order of enbaling inheritace on data dir

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-07-20 11:28:20 +02:00
parent 1ad04ab1e2
commit 1e28b9d0d7
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,4 @@
---
# Necessary to be able to create folders inside.
- name: Temporarily enable inheritance on data dir
win_acl_inheritance:
path: '{{ beacon_node_data_path }}'
state: 'present'
- name: Create service folders
win_file:
path: '{{ item }}'
@ -18,6 +12,12 @@
- '{{ beacon_node_service_bin_path }}'
- '{{ beacon_node_data_path }}'
# Necessary to be able to create folders inside.
- name: Temporarily enable inheritance on data dir
win_acl_inheritance:
path: '{{ beacon_node_data_path }}'
state: 'present'
- name: Fix service folder permissions
win_owner:
path: '{{ beacon_node_service_path }}'