superset
: Superset main class that has parameters for customising the installation and configuration of Apache Superset lint:ignore:140chars lint:ign
superset::config
: Manages the superset_config.py configuration filesuperset::firewalld
: Manages firewalld service and opens Superset portsuperset::init_db
: Initialises the superset db with an admin user, default roles and default permissions. Can also optionally load examples lint:ignore:140chasuperset::install
: Creates the Superset user and configures a Python virtual environment for installing Apache Superset and its dependent Python librariessuperset::packages
: Manages package dependencies for Supersetsuperset::postgresql
: Manages a basic postgresql backend for supersetsuperset::python
: Installs and configures the Pythonsuperset::service
: Configures and manages Superset service (using Gunicorn)
Superset main class that has parameters for customising the installation and configuration of Apache Superset
lint:ignore:140chars
lint:ignore:parameter_order
include superset
The following parameters are available in the superset
class:
install_dir
port
user
load_examples
manage_python
manage_webserver
manage_db
manage_firewall
admin_config
gunicorn_config
app_config
pgsql_config
python_version
db_drivers
Data type: String
The directory that a Python Virtual Environment will be created under and where Superset will be installed
Data type: Integer
The port that that superset will be served from. Default: 8088
Data type: String
The owner of any file/folders created for the Superset installation
Data type: Boolean
Option for loading example charts and data. Default: false
Data type: Boolean
Option for managing the installation of python. Default: true
Data type: Boolean
Option for managing a gunicorn webserver. Default: true
Data type: Boolean
Option for managing a Postgresql db back-end. Default: true
Data type: Boolean
Option for managing firewall (RHEL8 firwalld). Default: false
Data type: Hash
Overide option for superset admin user data (username, first name, last name, email, password). Default:
- username: admin
- password: password
Data type: Hash
Overide option for gunicorn. Default:
- install_dir: "%{lookup('superset::install_dir')}"
- workers: 10
- timeout: 120
- bind: "0.0.0.0:%{lookup('superset::port')}"
- limit_request_line: 0
- limit_request_field_size: 0
- statsd_host: localhost:8125
Data type: Hash
Overide option for overiding the superset default configuration Available options include:
- row_limit
- superset_webserver_port
- secret_key
- sqlalchemy_database_uri
- wtf_csrf_enabled
- wtf_csrf_exempt_list
- wtf_csrf_time_limit
- mapbox_api_key
Data type: Hash
Overide option for overiding the default postgresql configuration Available options include:
- database
- user
- password
- host
- port
Data type: String
Overide option for setting the Python version if it will be managed by this module
Data type: Array[String]
Overide option for setting database drivers (python database driver packages) to be installed