Skip to main content

IMPORT_MODULES

Constant IMPORT_MODULES 

Source
pub const IMPORT_MODULES: &[(&str, bool)];
Expand description

The three statements that read a file while the play is being compiled instead of naming work for a host, with whether their string form is one raw argument.

They are written as modules and the loader reads them as modules, but nothing sends them anywhere: the compiler splices what they name into the step list and no step is left behind. import_role is the odd one out on the free-form column - measured, import_playbook: x.yml takes the file as a raw parameter while import_role refuses one and wants name=.