mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-03 23:41:51 +00:00
* Adding scw_profile parameter to Scaleway module utilities. * Setting param name to profile for consistency and adding scw_profile as an alias. * Adding changelog fragment. * Forgot to import 'os' library. * Type in variable type for Scaleway profile. * Also forgot to include the yaml library, code taking from plugins/inventory/scaleway.py. * Adding default 'profile' value of empty string and changing check to a length check. * Treated wrong variable, checking XDG_CONFIG_HOME is a string. * Explicitly setting default of environment path vars to empty strings instead of None. * Letting ruff reformat the dict for 'profile'. * Changes from code review. * Fixing ruff formatting issue with error message. * Properly catching PyYAML import issues. * Adding PyYAML requirement when 'profile' is used. * Ruff wants an extra line after the PyYAML import code. * Fixing PyYAML dependency code as per review. * Removing extraneous var declaration. * Moving SCW_CONFIG loading to a function. * Fixing type errors with os.getenv calls. * Cannot send None to os.path.exists() or open(). * Oops, inversed logic! * Setting os.getenv() default to empty string so it is never None. Co-authored-by: Felix Fontein <felix@fontein.de> * None check no longer needed as scw_config_path is never None. Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> |
||
|---|---|---|
| .. | ||
| action | ||
| become | ||
| cache | ||
| callback | ||
| connection | ||
| doc_fragments | ||
| filter | ||
| inventory | ||
| lookup | ||
| module_utils | ||
| modules | ||
| plugin_utils | ||
| test | ||