Skip to content

Storage Playbooks

Storage playbooks are located in playbooks/storage. Different playbooks exist for each OS and cloud provider with the naming convention provision-<cloud>-<os>.yml.

These are very simple playbooks that essentially just call the corresponding role. Variables must be defined before storage can be provisioned!

  • playbooks/storage/provision-azure-linux.yml
  • playbooks/storage/provision-azure-windows.yml
  • playbooks/storage/provision-aws-linux.yml
  • playbooks/storage/provision-aws-windows.yml

Example command to provision storage for all Azure Windows VMs:

ansible-playbook -i inventory.azure_rm.yml --limit='has_attached_disks:&azure_rm_windows' playbooks/storage/provision-azure-windows.yml