Skip to content

Instantly share code, notes, and snippets.

@MBlagui
Created June 28, 2017 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MBlagui/8f39df8a5f54f154d630913ff5387e32 to your computer and use it in GitHub Desktop.
Save MBlagui/8f39df8a5f54f154d630913ff5387e32 to your computer and use it in GitHub Desktop.
---
- hosts: localhost
connection: local
tasks:
- name: Remove virtual network // remove
azure_rm_virtualnetwork:
resource_group: Testing
name: testvn001
address_prefixes: "10.10.0.0/16"
state: absent
- name: Remove storage account // remove
azure_rm_storageaccount:
resource_group: Testing
name: storagemine001
account_type: Standard_LRS
state: absent
- name: Remove security group that allows SSH
azure_rm_securitygroup:
resource_group: Testing
name: secgroup001
state: absent
- name: Remove ressource group // remove
azure_rm_resourcegroup:
name: testing
location: westus
state: absent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment