41 lines
984 B
YAML
41 lines
984 B
YAML
---
|
|
- block:
|
|
- name: "create etc directory"
|
|
ansible.builtin.file:
|
|
path: "{{ system_etc_root_directory }}"
|
|
state: "directory"
|
|
mode: 0755
|
|
|
|
- name: "create home root directory"
|
|
ansible.builtin.file:
|
|
path: "{{ system_etc_home_directory }}"
|
|
state: "directory"
|
|
mode: 0755
|
|
when:
|
|
system_etc_home_directory is defined
|
|
|
|
when:
|
|
system_directories_create_etc
|
|
|
|
- block:
|
|
- name: "create var directory"
|
|
ansible.builtin.file:
|
|
path: "{{ system_var_root_directory }}"
|
|
state: "directory"
|
|
mode: 0755
|
|
|
|
- name: "create containers root directory"
|
|
ansible.builtin.file:
|
|
path: "{{ system_var_containers_directory }}"
|
|
state: "directory"
|
|
mode: 0755
|
|
|
|
- name: "create data root directory"
|
|
ansible.builtin.file:
|
|
path: "{{ system_var_data_directory }}"
|
|
state: "directory"
|
|
mode: 0755
|
|
|
|
when:
|
|
system_directories_create_var
|