fixing resourcegroup task

This commit is contained in:
David Rojas
2020-09-25 15:55:57 -07:00
parent b9f56e321a
commit e27e55de86

View File

@@ -5,10 +5,7 @@
- name: Create Azure VM
hosts: localhost
connection: local
environment:
AZURE_AD_USER: colombianclimber@gmail.com
AZURE_PASSWORD: Zapata99!
AZURE_SUBCRIPTION_ID: bb66f723-9eb9-405b-8063-2e722a5a5a45
vars:
resource_group: vmdemo
vm_name: testvm
@@ -18,9 +15,7 @@
tasks:
- name: Create a resource group
azure_rm_resourcegroup:
ad_user: colombianclimber@gmail.com
password: Zapata99!
subscription_id: bb66f723-9eb9-405b-8063-2e722a5a5a45
name: "{{ resource_group }}"
location: "{{ location }}"
- name: Create virtual network