Files
dc-deployments-automation/roles/aws_shared_fs_config/tasks/main.yml
2022-09-07 18:56:23 -05:00

16 lines
360 B
YAML

---
- name: Create mountpoint
ansible.builtin.file:
state: directory
path: "{{ atl_shared_mountpoint }}"
mode: 0755
- name: Enable mountpoint in fstab
ansible.posix.mount:
path: "{{ atl_shared_mountpoint }}"
src: "{{ efs_target }}:{{ efs_src_dir }}"
fstype: "{{ efs_type }}"
opts: "{{ efs_mount_options }}"
state: mounted