all:
  hosts:
    azure_test_invalid:
    azure_test_public_ip:
      network: 10.42.0.0/24
      subnet: 10.42.0.0/28

    azure_test_no_public_ip:
      network: 10.42.1.0/24
      subnet: 10.42.1.0/28

    azure_test_deallocate:
      network: 10.42.2.0/24
      subnet: 10.42.2.0/28

    azure_test_minimal:
      network: 10.42.3.0/24
      subnet: 10.42.3.0/28

    azure_test_dual_nic:
      network: 10.42.4.0/24
      subnet: 10.42.4.0/28
      secondary_network: 10.42.5.0/24
      secondary_subnet: 10.42.5.0/28
      nic_list:
        - name: "{{ 'int' ~ uid_short ~ '-1' }}"
          resource_group: "{{ resource_group_secondary }}"
        - name: "{{ 'int' ~ uid_short ~ '-2' }}"
          resource_group: "{{ resource_group_secondary }}"

  vars:
    ansible_connection: local
    ansible_python_interpreter: "{{ ansible_playbook_python }}"

    uid: "{{ (resource_group ~ inventory_hostname) | hash('md5') | truncate(18, True, '') }}"
    uid_short: "{{ (resource_group ~ inventory_hostname) | hash('md5') | truncate(10, True, '') }}"

    storage_account: "{{ 'stor' ~ uid }}"
    availability_set: "{{ 'avbs' ~ uid_short }}"
    vm_name: "{{ 'vm' ~ uid_short }}"
    network_name: "{{ 'vnet' ~ uid_short }}"
    subnet_name: "{{ 'snet' ~ uid_short }}"
    security_group: "{{ 'sg' ~ uid_short }}"
    public_ip_name: "{{ 'ip' ~ uid_short }}"
    interface_name: "{{ 'int' ~ uid_short }}"

    ssh_keys:
      - path: '/home/chouseknecht/.ssh/authorized_keys'
        key_data: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC1igsIlcmTa/yfsJnTtnrEX7PP/a01gwbXcig6JOKyrUmJB8E6c/wtZwP115VSyDRTO6TEL/sBFUpkSw01zM8ydNATErh8meBlAlbnDq5NLhDXnMizgG0VNn0iLc/WplFTqkefsHXa8NtIxAtyEVIj/fKbK3XfBOdEpE3+MJYNtGlWyaod28W+5qmQPZDQys+YnE4OjSwN7D3g85/7dtLFvDH+lEC4ooJOaxVFr9VSMXUIkaRF6oI+R1Zu803LFSCTb4BfFOYOHPuQ/rEMP0KuUzggvP+TEBY14PEA2FoHOn+oRsT0ZR2+loGRaxSVqCQKaEHbNbkm+6Rllx2NQRO0BJxCSKRU1iifInLPxmSc4gvsHCKMAWy/tGkmKHPWIfN8hvwyDMK5MNBp/SJ1pVx4xuFDQjVWNbll0yk2+72uJgtFHHwEPK9QsOz45gX85vS3yhYCKrscS/W9h2l36SWwQXuGy4fXotE7esPsvNGAzBndHX1O8RMPg47qJXz059RyoGforoa9TnzIs3hIv+ts7ESx3OEq3HNk0FJ+wDka7IM7WQpGrVToJ0vfDy9Q46nw54vv5Zc/u4OZF3F5twHmyf3rLYKXRDuCvZQKT2iWQKVX6j63bq6orA5hwl22zndxWZNtOwtq8Sd0Ns0K/Fo/ggYDDGBtr68DwhA+MrxrHw== chouseknecht@ansible.com"

    image:
      offer: CentOS
      publisher: OpenLogic
      sku: '7.1'
      version: latest

    image_paid:
      publisher: cognosys
      offer: ubuntu-14-04-lts
      sku: hardened-ubuntu-14-04
      version: latest

    plan_paid:
      name: hardened-ubuntu-14-04
      product: ubuntu-14-04-lts
      publisher: cognosys
