ranger_modules
ranger_modules
This ansible role host a set of modules aimed to manipulate policies on Apache Ranger.
ranger_hdfs_policies: Allow creation/deletion/update of HDFS Ranger policies. Doc at this location
ranger_hbase_policies: Allow creation/deletion/update of HBase Ranger policies. Doc at this location
ranger_kafka_policies: Allow creation/deletion/update of Kafka Ranger policies. Doc at this location
ranger_yarn_policies: Allow creation/deletion/update of Yarn Ranger policies. Doc at this location
ranger_storm_policies: Allow creation/deletion/update of Storm Ranger policies. Doc at this location
Requirements
These modules need the python-requests package to be present on the remote node.
Example Playbook
# Grant full rights for user 'coxi' on folders '/apps/coxi01' and '/user/coxi01', in a recursive way
- hosts: edge_node1
roles:
- ranger_modules
tasks:
- ranger_hdfs_policies:
state: present
admin_url: http://ranger.mycompany.com:6080
admin_username: admin
admin_password: admin
policies:
- name: "coxi01"
paths:
- "/apps/coxi01"
- "/user/coxi01"
permissions:
- users:
- coxi
accesses:
- Write
- read
- execute
License
GNU GPL
Click on the Link to see the full text.
Install
ansible-galaxy install BROADSoftware/ranger_modules
License
gpl-3.0
Downloads
741
Owner