Azure devops - ansible azure rm issue

0 votes

I want to run ansible using the dynamic inventory azure_rm.
I am getting errors like this:

[WARNING]:  * Failed to parse
/home/vsts/work/1/s/ansible/inventory/myazure_rm.yml with auto plugin: name
'azure_cloud' is not defined
[WARNING]:  * Failed to parse
/home/vsts/work/1/s/ansible/inventory/myazure_rm.yml with yaml plugin: Plugin
configuration YAML file, not YAML inventory
[WARNING]:  * Failed to parse
/home/vsts/work/1/s/ansible/inventory/myazure_rm.yml with ini plugin: Invalid
host pattern 'plugin:' supplied, ending in ':' is not allowed, this character
is reserved to provide a port.
[WARNING]: Unable to parse /home/vsts/work/1/s/ansible/inventory/myazure_rm.yml
as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'


inventory:

plugin: azure_rm
include_vm_resource_groups:
  - rg-test
auth_source: auto
fail_on_template_errors: False
location: "france central"


Can anyone help me to resolve this?
Apr 8, 2022 in Other DevOps Questions by Kichu
• 19,050 points
816 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
1 answer

How to show Azure DevOps wiki attachment that has been created by API

This doesn't appear to be an issue ...READ MORE

answered Feb 8, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
1,399 views
0 votes
1 answer
0 votes
1 answer

Azure DevOps yaml passing variable using "##vso[task.setvariable" not working

You can stop the pipeline from running ...READ MORE

answered Feb 8, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
1,828 views
0 votes
1 answer

How can I preview PowerPoint files in Azure DevOps (VSTS)?

No, there are no viewers for attachments ...READ MORE

answered Feb 9, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
591 views
0 votes
1 answer

JavaScript heap out of memory in Angular 7 using Azure DevOps

Try running the prod build as follows: node ...READ MORE

answered Feb 9, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
3,123 views
0 votes
1 answer

Create an automatic PR and complete it Azure DevOps

You can retrieve the creator ID after ...READ MORE

answered Feb 9, 2022 in Other DevOps Questions by Bhavitha
• 1,000 points
2,416 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,995 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP