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.

7 anni fa
7 anni fa
7 anni fa
123456789101112131415161718192021
  1. ---
  2. - name: format
  3. command: mkswap -U {{ item.uuid }} {{ item.device }}
  4. with_items: "{{ swap_devices }}"
  5. when:
  6. swap_devices_state == "formated"
  7. - name: fstab for swap devices
  8. mount:
  9. name: none
  10. src: UUID={{ item.uuid }}
  11. fstype: swap
  12. opts: sw
  13. passno: 0
  14. dump: 0
  15. state: present
  16. fstab: "{{ fstab_file }}"
  17. with_items: "{{ swap_devices }}"
  18. when:
  19. swap_devices_state == "configured"