I installed the Azure Python SDK 2.0.0rc5 using pip and ansible 2.0.0.2
using apt on a Ubuntu 16.04 machine. I also created a Azure AD service
principle and added the information to ~/.azure/credentials. When I try to
run a playbook that uses one of the Azure rm module I always get the same
error.
For example when I run the following playbook :
===============================================
- name: Test playbook
hosts: localhost
connection: local
gather_facts: False
tasks:
- name: GetFacts
azure_rm_virtualnetwork_facts:
subscription_id: 11111111-1111-111111111-111111111111
resource_group: ansible-test
===============================================
*ansible-playbook test.yml*
ERROR! no action detected in task
The error appears to have been in '/data/ansible/playbooks/tests/test.yml':
line 6, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: GetFacts
^ here
I have no idea why I get this error, all help is greatly appreciated!
Frank Montyne
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/acf76762-d1c6-49ca-bcda-2a5c53a1ca4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.