Add Azure Resource Manager templates to contrib folder

This commit is contained in:
Alexander Block
2016-12-12 17:21:56 +01:00
parent f12e9fa22a
commit c87f4f613e
19 changed files with 816 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
---
- name: Query Azure VMs
command: azure vm list-ip-address --json {{ azure_resource_group }}
register: vm_list_cmd
- set_fact:
vm_list: "{{ vm_list_cmd.stdout }}"
- name: Generate inventory
template: src=inventory.j2 dest="{{playbook_dir}}/inventory"