aboutsummaryrefslogtreecommitdiff
path: root/roles/host/tasks/mounts.yml
blob: 05ddcc04463230cb45c33a7695a2c1245c1ab10a (plain)
1
2
3
4
5
6
7
8
9
- name: Manage mounts
  ansible.posix.mount:
    path: "{{ item.path }}"
    src: "{{ item.src }}"
    fstype: "{{ item.fstype }}"
    opts: "{{ item.opts }}"
    state: "{{ item.state }}"
  loop: "{{ host_mounts }}"
  when: host_mounts is defined