--- icon: material/tag hide: - tags tags: - apt - custom - deb - package - pip saltbox_automation: project_description: name: Custom summary: |- a Saltbox module that allows you to install additional software packages (APT, DEB, and pip modules) that are not included in the default Saltbox installation, giving you the flexibility to add tools and dependencies specific to your needs. --- # Custom ## Overview Custom is a Saltbox module that allows you to install additional software packages (APT, DEB, and pip modules) that are not included in the default Saltbox installation, giving you the flexibility to add tools and dependencies specific to your needs. --- ## Configuration Before running the custom tag, configure the packages you want to install in your Saltbox inventory: **APT packages:** ```yaml custom_apt: - package_name_1 - package_name_2 ``` **DEB packages (direct URLs):** ```yaml custom_deb: - https://example.com/package.deb ``` **pip modules (Ubuntu 22.04 and earlier only):** ```yaml custom_pip: - module_name ``` ## Deployment ```shell sb install custom ``` !!! info The custom role is useful for installing system utilities, development tools, or dependencies required by other applications in your setup. !!! warning pip installation via this role is only available on Ubuntu 22.04 and earlier. ## Role Defaults Variables can be customized using the [Inventory](/saltbox/inventory/index.md#overriding-variables){ data-preview }. (1) { .annotate .sb-annotated } 1. !!! example "Example override" ```yaml custom_apt: ["item1", "item2"] ``` === "General" ??? variable list "`custom_apt`" ```yaml # Type: list custom_apt: [] ``` ??? variable list "`custom_deb`" ```yaml # Type: list custom_deb: [] ``` ??? variable list "`custom_pip`" ```yaml # Type: list custom_pip: [] ```