19 lines
479 B
YAML
19 lines
479 B
YAML
---
|
|
- name: get resource group info
|
|
become: true
|
|
become_user: root
|
|
# become_method: runas
|
|
hosts: localhost
|
|
roles:
|
|
# - role: linux_update
|
|
- role: azure_createRG
|
|
- role: azure_create-vnet
|
|
- role: azure_createwindowsvm
|
|
|
|
environment:
|
|
- AZURE_CLIENT_ID: 141cd3f9-e466-4086-bfe9-9d6873a84084
|
|
- AZURE_SECRET: "{{secret}}"
|
|
- AZURE_SUBSCRIPTION_ID: dd4dbc55-c970-4a1f-8ddd-8cb7ae7900dd
|
|
- AZURE_TENANT: 03a0b8f2-7896-4d4d-bd81-9d6314ae3e15
|
|
|
|
|