get_makefiles_env – Recursively get Makefiles default variables.
Synopsis
Retrieves a dictionary with all the environment variables defined in the Makefiles under the given path.
Parameters
- base_path (True, str, None)
The base path on where to start picking Makefiles vars.
Examples
# Recursively get all the variables of the Makefiles under /home/user
- name: Generate env var fact
register: get_makefiles_env_out
get_makefiles_env:
base_path: /home/user
Return Values
- makefiles_values (success, dict, [{‘NAMESPACE’: ‘openstack’, ‘NETWORK_ISOLATION’: True}])
The variables and the their default values for each Makefile