Skip to content

molecule.sh

Export molecule variables

Description

Export variable MOLECULE_NO_LOG to tell molecule to show logs even if molecule log should be hidden.

Parameters in .envrc.ini are:

Name Description
MOLECULE_NO_LOG Boolean for molecule to show log (default false)

Parameters

MOLECULE_NO_LOG

Force molecule to show logs from internal molecule playbooks, even when they have no log set to true. See on Stackoverflow

.envrc.ini example

Corresponding entry in .envrc.ini.template are:

# Molecule module
# ------------------------------------------------------------------------------
# Set molecule environment variable
[molecule]
# Explicitly tell molecule to show all log
MOLECULE_NO_LOG=1

molecule()

Export variables for molecule

Export variable MOLECULE_NO_LOG to tell molecule to show logs even if molecule log should be hidden.

Globals

  • MOLECULE_NO_LOG

deactivate_molecule()

Unset exported variables for molecule module

Unset MOLECULE_NO_LOG variables previously exported.

Globals

  • MOLECULE_NO_LOG

Last update: January 7, 2022
Back to top