ansible/roles/disks/tasks/main.yml

13 lines
211 B
YAML
Raw Permalink Normal View History

---
- name: Install dependencies
apt:
name: parted
state: present
- name: Create partitions and format disks
include_tasks: format_disk.yml
loop: "{{ disks }}"
loop_control:
loop_var: disk