You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
695 B
21 lines
695 B
5 years ago
|
---
|
||
|
|
||
|
- name: Create directories
|
||
|
file: path={{ item.path }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
||
|
loop:
|
||
|
- path: "{{ psono_root_dir }}/client"
|
||
|
- path: "{{ psono_root_dir }}/admin"
|
||
|
- path: "{{ psono_root_dir }}/server/app"
|
||
|
- path: "{{ psono_root_dir }}/server/venv"
|
||
|
- path: "{{ psono_root_dir }}/meta"
|
||
|
mode: 700
|
||
|
- path: "{{ psono_root_dir }}/tmp"
|
||
|
mode: 700
|
||
|
- path: "{{ psono_root_dir }}/backup"
|
||
|
mode: 700
|
||
|
- path: "{{ psono_root_dir }}/server/.psono_server"
|
||
|
owner: "{{ psono_user }}"
|
||
|
group: "{{ psono_user }}"
|
||
|
mode: 700
|
||
|
tags: psono
|