25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
395B

  1. ---
  2. - name: filesystems
  3. filesystem:
  4. fstype: "{{ item.fstype }}"
  5. dev: "{{ item.device }}"
  6. force: yes
  7. with_items: "{{ filesystems }}"
  8. - name: mount filesystems
  9. mount:
  10. name: "{{ mount_directory_target }}/{{ item.mount_point }}"
  11. src: "{{ item.device }}"
  12. fstype: "{{ item.fstype }}"
  13. state: mounted
  14. with_items: "{{ filesystems }}"
  15. - name: sync
  16. command: sync