20 lines
544 B
YAML
20 lines
544 B
YAML
- name: Create the data directory
|
|
ansible.builtin.file:
|
|
path: "{{ container_data_base_path }}"
|
|
state: directory
|
|
mode: '0777'
|
|
become: true
|
|
|
|
- name: Mount the data share to the VM
|
|
ansible.builtin.include_tasks:
|
|
file: ../tasks/mount_nfs.yml
|
|
vars:
|
|
mount_path: "{{ container_data_base_path }}"
|
|
mount_source: "10.89.0.15:/mnt/main/container-data"
|
|
|
|
- name: Create the data directory
|
|
ansible.builtin.file:
|
|
path: "{{ container_data_base_path }}/{{ dir_name }}"
|
|
state: directory
|
|
mode: '0777'
|
|
become: true |