-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hello,
i'm facing an issue with deleteing policy from hdfs ranger
Here is my code for deleting...
- name: Apply ranger Hdfs policy
ranger_hdfs_policies:
state: absent.
admin_url: https://{{ groups['ranger'][0] }}:6182
admin_username: "admin"
admin_password: "{{ RANGER_ADMIN_PASSWORD }}"
validate_certs: no
policies:- name: " User {{ User_Ftid }} Home access "
paths:- "/user/{{ User_Ftid }}"
permissions: - users:
- "{{ User_Ftid }}"
accesses: - Write
- read
- execute
tags:
- "{{ User_Ftid }}"
- "/user/{{ User_Ftid }}"
- ranger_policies
when : User_Ftid[0] is defined
- name: " User {{ User_Ftid }} Home access "
always i receive this error :
ERROR! couldn't resolve module/action 'ranger_hdfs_policies'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/var/www/html/JENKINS/workspace/Delete_user_NA/roles/Delete_user_NA/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
HDFS ranger rule
- name: Apply ranger Hdfs policy
^ here
Build step '
Metadata
Metadata
Assignees
Labels
No labels