Reviewed-on: #2 Co-authored-by: Beth <ejparker@actcur.com> Co-committed-by: Beth <ejparker@actcur.com>
16 lines
No EOL
368 B
YAML
16 lines
No EOL
368 B
YAML
# tasks file for mounting binds
|
|
- name: create bind directory
|
|
ansible.builtin.file:
|
|
path: "/var/lib/{{ item.mount }}"
|
|
state: directory
|
|
mode: '0755'
|
|
loop: "{{ bind_mounts }}"
|
|
|
|
- name: mount bind
|
|
ansible.builtin.mount:
|
|
path: "{{ item.mount }}"
|
|
src: "{{ item.src }}"
|
|
fstype: none
|
|
opts: bind
|
|
state: mounted
|
|
loop: "{{ bind_mounts }}" |