Medulla - Offline installation
Documentation in progress.
Introduction
This documentation describes the adjustments required to enable the installation and operation of Medulla in an environment without Internet access.
The goal is to enable the deployment of a Medulla infrastructure in an isolated network while identifying the components that normally require an Internet connection and the solutions implemented to replace or disable them.
General principle
Offline mode relies on the Ansible variable:
INTERNET_DISABLED: true
When this variable is enabled, tasks requiring Internet access are either:
- skipped;
- replaced by local resources;
- disabled if they are optional.
Adapted components
Medulla repository
By default, the base role downloads the Medulla repository configuration file (medulla.sources) from the Internet.
In offline mode, this operation is skipped:
- name: BASE - Download packages repository file
ansible.builtin.get_url:
...
when: not INTERNET_DISABLED
CVE database
Downloading the CVE database requires Internet access.
The corresponding tasks are controlled by the INTERNET_DISABLED variable to prevent any download attempts in an isolated environment.
Store
The Store plugin is installed with MMC by default.
In an offline environment (where INTERNET_DISABLED=true), the plugin remains installed but is automatically disabled in its configuration to prevent its use.
The deactivation is configured in the template roles/mmc/templates/store.ini.local.j2:
{% if INTERNET_DISABLED %}
disable = 1
{% else %}
disable = 0
{% endif %}
The Store packages remain installed. Only the plugin is disabled.
Windows Update
The medulla_osupdates role normally downloads the Microsoft catalog and the files needed to manage Windows updates.
In offline mode, these downloads are disabled via the INTERNET_DISABLED variable.
This change prevents errors related to the lack of Internet access during installation.