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.

20 lines
363B

  1. ---
  2. - setup:
  3. gather_subset: "!all"
  4. - name: debian apt install packages
  5. apt:
  6. pkg: "{{ item }}"
  7. state: installed
  8. with_items:
  9. - lvm2
  10. when: ansible_os_family == "Debian"
  11. - name: volume groups
  12. lvg:
  13. vg: "{{ item.name }}"
  14. pvs: "{{ item.devices | join(',') }}"
  15. state: "{{ volume_groups_state }}"
  16. with_items: "{{ volume_groups }}"