{"id":22845564,"url":"https://github.com/idealista/superset_role","last_synced_at":"2025-09-02T04:39:55.934Z","repository":{"id":37100631,"uuid":"304293503","full_name":"idealista/superset_role","owner":"idealista","description":"Ansible role to install Apache Superset","archived":false,"fork":false,"pushed_at":"2022-06-17T07:31:25.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-14T07:13:32.744Z","etag":null,"topics":["ansible","ansible-role","debian","superset"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-15T10:41:35.000Z","updated_at":"2022-06-17T07:23:25.000Z","dependencies_parsed_at":"2022-06-24T09:04:51.337Z","dependency_job_id":null,"html_url":"https://github.com/idealista/superset_role","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/idealista/superset_role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fsuperset_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fsuperset_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fsuperset_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fsuperset_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/superset_role/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fsuperset_role/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273233245,"owners_count":25068725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","debian","superset"],"created_at":"2024-12-13T03:17:39.265Z","updated_at":"2025-09-02T04:39:55.916Z","avatar_url":"https://github.com/idealista.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apache Superset Ansible role\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/idealista/superset_role?color=%23B62682)\n[![Build Status](https://travis-ci.org/idealista/superset_role.png)](https://travis-ci.org/idealista/superset_role) [![Ansible Galaxy](https://img.shields.io/badge/galaxy-idealista.superset_role-B62682.svg)](https://galaxy.ansible.com/idealista/superset_role)\n\n![Logo](https://raw.githubusercontent.com/idealista/superset_role/main/logo.gif)\n\nThis ansible role installs [Superset](https://superset.apache.org/) in a Debian environment. It has been tested for Debian buster.\n\nThis role has been generated using the [cookiecutter](https://github.com/cookiecutter/cookiecutter) tool, you can generate a similar role that fits your needs using the this [cookiecutter template](https://github.com/idealista/cookiecutter-ansible-role).\n\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites-ballot_box_with_check)\n  - [Installing](#Installing-inbox_tray )\n- [Usage](#usage-runner)\n- [Testing](#testing-test_tube)\n- [Built With](#built-with-building_construction)\n- [Versioning](#versioning-card_file_box)\n- [Authors](#authors-superhero)\n- [License](#license-spiral_notepad)\n- [Contributing](#contributing-construction_worker)\n\n## Getting Started\n\nThese instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install [Apache Superset](https://superset.apache.org/) in a Debian system.\n\n### Prerequisites :ballot_box_with_check:\n\nAnsible 2.9.x.x version installed.\nInventory destination should be a Debian (preferable Debian 10 Buster ) or Ubuntu environment.\n\nℹ️ By default this role use the predefined installation of Python that comes with the distro.\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver and [Goss](\u003chttps://github.com/aelsabbahy/goss\u003e) as verifier.\n\n### Installing :inbox_tray:\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n```yml\n- src: idealista.superset_role\n  scm: git\n  version: 1.1.0\n  name: superset_role\n```\n\nInstall the role with ansible-galaxy command:\n\n```sh\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n```yml\n---\n- hosts: someserver\n  roles:\n    - role: superset_role\n```\n\n## Usage :runner:\n\nLook to the defaults properties files to see the possible configuration properties, take a look for them:\n\n- [`main.yml`](./defaults/main/main.yml) for superset general purpose vars.\n- [`superset_config.yml`](./defaults/main/superset_config.yml) for all the related superset_config.py config parameters.\n\n👉 Don't forget :\n\n- 🦸 To set your Admin user.\n- 🔑 To set Secret key.\n- 🔑 To set webserver secret key.\n- 📝 To set your SUPERSET_HOME and SUPERSET_CONFIG_PATH at your own discretion.\n- 📝 To set your installation and config skelton paths at your own discretion.\n  - 👉 See `superset_skeleton_paths` in [`main.yml`](./defaults/main/main.yml)\n- ⚙️ To customize your app service and superset running config.\n- ⚙️ To customize your feature flags.\n- ⚙️ To choose your preferred webdriver version in case of use [alerts \u0026 reports](https://superset.apache.org/docs/installation/alerts-reports) for example.\n- 🐍 Python and pip version, and install before if necessary.\n- 🚙 [Custom db drivers](#blue_car-Custom-db-drivers) In addition, superset requires additional drivers to connect to different databases [Supported Databases and Dependecies](https://superset.apache.org/docs/databases/installing-database-drivers).\n- 📦 [Additional Python packages](#package-Additional-Python-packages) with version specific like like python-ldap for example to use LDAP login\n\n### :blue_car: Custom db drivers\n\nChoose yours editing the [`superset_db_drivers`](./defaults/main/main.yml) variable, you can see all the default db drivers ready to use (uncomment) in [`main-yml`](./defaults/main/main.yml). It should be a list like this:\n\n```yml\nsuperset_db_drivers:\n  - name: ClickHouse\n    package:\n      - name: clickhouse-driver\n        version: 0.2.0\n      - name: clickhouse-sqlalchemy\n        version: 0.1.6\n  - name: MySQL\n    package:\n        - name: mysqlclient\n    required_libs:\n      - default-libmysqlclient-dev\n      - python-mysqldb\n  - name: PostgreSQL\n    package:\n      - name: psycopg2-binary\n```\n\n### :package: Additional Python packages\n\n[`superset_additional_python_packages`](./defaults/main/main.yml) should be a list following this format:\n\n```yml\nsuperset_additional_python_packages:\n  # [ LDAP ]\n  - name: python-ldap\n```\n\n## Testing :test_tube:\n\n### Install dependencies\n\n```sh\npipenv install -r test-requirements.txt\n```\n\nFor more information read the [pipenv docs](ipenv-fork.readthedocs.io/en/latest/).\n\n### Run test\n\n```sh\npipenv run molecule test\n```\n\n## Built With :building_construction:\n\n![Ansible](https://img.shields.io/badge/ansible-2.9.21-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.0.6-green.svg)\n![Goss](https://img.shields.io/badge/goss-0.3.9-green.svg)\n\n## Versioning :card_file_box:\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/superset_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors :superhero:\n\n- **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/superset_role/contributors) who participated in this project.\n\n## License :spiral_notepad:\n\n![Apache 2.0 License](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n\n## Contributing :construction_worker:\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fsuperset_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fsuperset_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fsuperset_role/lists"}