mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
The role currently supports two providers: "nm" and "initscripts". The provider is autodetected by loading one of the vars/*.yml files (where the default is set via the internal "network_provider_default" variable). The user can still overwrite the provider, by explicitly setting the "network_provider" variable. Depending on the provider there is the list of packages that shall be installed and the service to start. Selecting this was broken before. This is now fixed and works like following: The variables "network_service_name" and "network_packages" can be specified by the user as host variables. But usually the user wouldn't want to do that. Instead, those settings depend on "network_provider". The role looks into the internal "_network_provider_setup" dictionary, which defaults to "network_service_name_nm", "network_service_name_initscripts", "network_packages_nm", and "network_packages_initscripts". These default variables are initialized in "defaults/main.yml" as well, but they could be overwritten via "vars/*.yml" files, or via any other mechanism. https://github.com/linux-system-roles/network/pull/14 https://bugzilla.redhat.com/show_bug.cgi?id=1485074 |
||
|---|---|---|
| .. | ||
| main.yml | ||