fixing resourcegroup task
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user