You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 8 години
1234567891011121314151617181920
  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