21 lines
389 B
YAML
21 lines
389 B
YAML
|
# 2023-09-25
|
||
|
# Tasks: directories
|
||
|
---
|
||
|
|
||
|
- ansible.builtin.include_vars: directories.yml
|
||
|
|
||
|
- name: Create extra directories
|
||
|
ansible.builtin.file:
|
||
|
path: "{{ item }}"
|
||
|
owner: root
|
||
|
group: root
|
||
|
state: directory
|
||
|
mode: u=rwx,g=rx,o=rx
|
||
|
with_items: "{{ directories_create }}"
|
||
|
tags:
|
||
|
- system
|
||
|
- directories
|
||
|
- create
|
||
|
when:
|
||
|
- ansible_facts['system'] == "Linux"
|