Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting hdfs ranger policy #4

Open
nawalalaa opened this issue Feb 10, 2023 · 0 comments
Open

Deleting hdfs ranger policy #4

nawalalaa opened this issue Feb 10, 2023 · 0 comments

Comments

@nawalalaa
Copy link

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:
    • ranger_policies
      when : User_Ftid[0] is defined

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 '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant