---
# System prepended metadata

title: Untitled

---

- name: recuperer info interface réseau
  azure_rm_networkinterface_info:
    resource_group: "{{ resource_group }}"
    name: interface_vm
  register: network_interface_output
- name: recuperer ip privée
  set_fact:
    private_ip_vm: "{{ network_interface_output.networkinterfaces[0].ip_configurations[0].private_ip_address }}"