ansible/roles/common/tasks/directories.yml

21 lines
389 B
YAML
Raw Permalink Normal View History

2023-09-25 08:40:20 +00:00
# 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"