You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/azure_rm_virtualmachine/tasks/setup.yml

27 lines
744 B
YAML

- debug:
msg: "UID is {{ uid_short }}"
- name: SETUP | Create storage account
azure_rm_storageaccount:
resource_group: "{{ resource_group }}"
name: "{{ storage_account }}"
account_type: Standard_LRS
- name: SETUP | Create availability set
azure_rm_availabilityset:
name: "{{ availability_set }}"
resource_group: "{{ resource_group }}"
- name: SETUP | Create virtual network
azure_rm_virtualnetwork:
resource_group: "{{ resource_group }}"
name: "{{ network_name }}"
address_prefixes: "{{ network }}"
- name: SETUP | Create subnet
azure_rm_subnet:
resource_group: "{{ resource_group }}"
name: "{{ subnet_name }}"
address_prefix: "{{ subnet }}"
virtual_network: "{{ network_name }}"