--- - name: get resource group info become: true become_user: root # become_method: runas hosts: localhost roles: # - role: linux_update - role: azure_get-rg-facts environment: #aperam.com - AZURE_CLIENT_ID: "{{AZURE_CLIENT_ID}}" - AZURE_SECRET: "{{AZURE_SECRET}}" - AZURE_SUBSCRIPTION_ID: "{{AZURE_SUBSCRIPTION_ID}}" - AZURE_TENANT: "{{AZURE_TENANT}}"