---
dependency:
  name: galaxy
driver:
  name: azure
platforms:
  - name: instance-1
    groups:
      - foo
      - bar
  - name: instance-2
    groups:
      - foo
      - baz
provisioner:
  name: ansible
  config_options:
    defaults:
      callback_whitelist: profile_roles,profile_tasks,timer
  playbooks:
    create: ../../../../../resources/playbooks/azure/create.yml
    destroy: ../../../../../resources/playbooks/azure/destroy.yml
  inventory:
    group_vars:
      all:
        resource_group_name: molecule
        location: "{{ lookup('env', 'AZURE_REGION') or 'westus' }}"
        ssh_user: molecule
        ssh_port: 22
        virtual_network_name: molecule_vnet
        subnet_name: molecule_subnet
        keypair_path: "{{ lookup('env', 'MOLECULE_EPHEMERAL_DIRECTORY') }}/ssh_key"
  env:
    ANSIBLE_ROLES_PATH: ../../../../../resources/roles/
verifier:
  name: testinfra
