Ansible roles
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.
 
 
 
 
 
 

12 lines
401 B

---
- name: Create needed directories
file: path={{ item.dir }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
loop:
- dir: "{{ mvn_root_dir }}"
- dir: "{{ mvn_root_dir }}/meta"
mode: 700
- dir: "{{ mvn_root_dir }}/tmp"
mode: 700
- dir : "{{ mvn_root_dir }}/apache-maven"
tags: mvn