April 2020
Intermediate to advanced
482 pages
15h 16m
English
$ cat ~/.Azure/credentials[default]subscription_id=XXX-XXXX-XXXXclient_id=XXX-XXXX-XXXXsecret=XXX-XXXX-XXXXtenant=XXX-XXXX-XXXX
$ cat pb_validate_Azure_net.yml- name: Build Azure Network Infrastructure hosts: all connection: local tasks: - name: Get Resource Facts Azure_rm_resourcegroup_facts: name: "{{ rg_name }}" register: rg_facts tags: rg_facts - name: Validate Resource Group is Deployed assert: that: - rg.name == rg_name - rg.properties.provisioningState ...Read now
Unlock full access