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)
delete_superset_venv
: A task for deleting the Apache Superset virtual environment directory
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
version
additional_python_lib
port
user
load_examples
manage_python
manage_webserver
manage_db
manage_firewall
admin_username
admin_password
admin_firstname
admin_lastname
admin_email
gunicorn_install_dir
gunicorn_workers
gunicorn_worker_class
gunicorn_timeout
gunicorn_bind
gunicorn_limit_request_line
gunicorn_limit_request_field_size
gunicorn_statsd_host
manage_config
config_row_limit
config_webserver_port
config_secret_key
config_sqlalchemy_database_uri
config_wtf_csrf_enabled
config_wtf_csrf_exempt_list
config_wtf_csrf_time_limit
config_mapbox_api_key
pgsql_database
pgsql_user
pgsql_password
pgsql_host
pgsql_port
python_version
python_pip
python_dev
python_venv
db_drivers
Data type: String
The directory that a Python Virtual Environment will be created under and where Superset will be installed
Default value: '/home/superset'
Data type: Variant[Enum['present','absent','latest'], String[1]]
The version of Apache Superset to install.
Default value: '2.1.0'
Data type: Array[String]
Array of additional python libraries to install.
Default value: []
Data type: Integer
The port that that superset will be served from. Default: 8088
Default value: 8088
Data type: String
The owner of any file/folders created for the Superset installation
Default value: 'superset'
Data type: Boolean
Option for loading example charts and data. Default: false
Default value: false
Data type: Boolean
Option for managing the installation of python. Default: true
Default value: true
Data type: Boolean
Option for managing a gunicorn webserver. Default: true
Default value: true
Data type: Boolean
Option for managing a Postgresql db back-end. Default: true
Default value: true
Data type: Boolean
Option for managing firewall (RHEL8 firwalld). Default: false
Default value: false
Data type: String
Parameter for setting the admin user username
Default value: 'admin'
Data type: Sensitive[String]
Sensitive parameter for setting the admin user password
Default value: Sensitive('password')
Data type: String
Parameter for setting the admin user first name
Default value: 'admin'
Data type: String
Parameter for setting the admin user last name
Default value: 'admin'
Data type: String
Parameter for setting the admin user email address
Default value: 'admin@mycompany.com'
Data type: String
Overide for gunicorn install_dir option.
Default value: '/home/superset'
Data type: Integer
Overide for gunicorn workers option.
Default value: 10
Data type: Enum['sync','eventlet','gevent','tornado']
Overide for gunicorn worker_class option.
Default value: 'gevent'
Data type: Integer
Overide for gunicorn timeout option.
Default value: 120
Data type: String
Overide for gunicorn bind option.
Default value: '0.0.0.0:8088'
Data type: Integer
Overide for gunicorn limit_request_line option.
Default value: 0
Data type: Integer
Overide for gunicorn limit_request_field_size option.
Default value: 0
Data type: String
Overide for gunicorn statsd_host option.
Default value: 'localhost:8125'
Data type: Boolean
Boolean for setting whether to manage the config file superset_config.py
Default value: true
Data type: Optional[Integer]
Optional setting for setting ROW_LIMIT in superset_config.py
Default value: undef
Data type: Optional[Integer]
Optional setting for setting SUPERSET_WEBSERVER_PORT in superset_config.py
Default value: undef
Data type: Sensitive[String]
Sensitive parameter for setting SECRET_KEY in superset_config.py
Default value: Sensitive('53cR37K3y')
Data type: Optional[String]
Optional setting for setting SQLALCHEMY_DATABASE_URI in superset_config.py
Default value: undef
Data type: Optional[Boolean]
Optional setting for setting WTF_CSRF_ENABLED in superset_config.py
Default value: undef
Data type: Optional[Array[String]]
Optional setting for setting WTF_CSRF_EXEMPT_LIST in superset_config.py
Default value: undef
Data type: Optional[Integer]
Optional setting for setting WTF_CSRF_TIME_LIMIT in superset_config.py
Default value: undef
Data type: Optional[String]
Optional setting for setting MAPBOX_API_KEY in superset_config.py
Default value: undef
Data type: String
Overide option for overiding the default postgresql database
Default value: 'superset'
Data type: String
Overide option for overiding the default postgresql user
Default value: 'superset'
Data type: Sensitive[String]
Overide option for overiding the default postgresql password
Default value: Sensitive('password')
Data type: String
Overide option for overiding the default postgresql host
Default value: 'localhost'
Data type: Integer
Overide option for overiding the default postgresql port
Default value: 5432
Data type: String
Overide option for setting the Python version if it will be managed by this module
Default value: 'python39'
Data type: Enum['present','absent','latest']
Parameter for setting whether the ensure python-pip is present, absent or latest
Default value: 'present'
Data type: Enum['present','absent','latest']
Parameter for setting whether the ensure python-dev is present, absent or latest
Default value: 'present'
Data type: Enum['present','absent','latest']
Parameter for setting whether the ensure python-venv is present, absent or latest
Default value: 'absent'
Data type: Array[String]
Overide option for setting database drivers (python database driver packages) to be installed
Default value: ['psycopg2']
A task for deleting the Apache Superset virtual environment directory
Supports noop? false