-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm getting stated error while running a simple playbook using this role.
Steps taken:
- Downloaded the zip file and unzipped the content to /etc/ansible/roles/lookup_ldap directory
- Created attached "ldap-test.txt" playbook and tried to execute it.
- Got below error
_ERROR! 'with_ldap' is not a valid attribute for a Task
The error appears to be in 'ldap-test.txt': line 15, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: query LDAP
^ here_
Ran ansible-galaxy list roles command and it is showing that "lookup_ldap" role is installed.
ansible-galaxy list
# /etc/ansible/roles
- lookup_ldap, (unknown version)
Please help me out in this issue.
ldap-test.txt
Metadata
Metadata
Assignees
Labels
No labels