Create the base directory as root in Molecule scenarios

Mirrors production, where matrix-base now makes it owned by root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Slavi Pantaleev
2026-10-30 08:53:21 +02:00
co-authored by Claude Opus 5.5
parent 5a3137ca8d
commit 2993bdf45f
36 changed files with 36 additions and 36 deletions
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -52,7 +52,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -50,7 +50,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -51,6 +51,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -51,6 +51,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -51,6 +51,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -51,6 +51,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -51,6 +51,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -51,7 +51,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -51,6 +51,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"
@@ -59,7 +59,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: '0750' mode: '0750'
@@ -60,7 +60,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: '0750' mode: '0750'
@@ -51,6 +51,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_base_data_path }}" path: "{{ matrix_base_data_path }}"
state: directory state: directory
owner: "{{ matrix_user_name }}" owner: root
group: "{{ matrix_group_name }}" group: "{{ matrix_group_name }}"
mode: "0750" mode: "0750"