1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00
community.general/changelogs/fragments
patchback[bot] 39a49e4d98
[PR #11314/b3c066b9 backport][stable-12] Adding scw_profile parameter to Scaleway module utilities. (#11337)
Adding scw_profile parameter to Scaleway module utilities. (#11314)

* 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.



* None check no longer needed as scw_config_path is never None.



---------


(cherry picked from commit b3c066b99f)

Co-authored-by: Greg Harvey <greg.harvey@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-12-28 21:24:54 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
12.2.0.yml Prepare 12.2.0. 2025-12-23 21:38:47 +01:00
11182-vxlan-parent-bridging.yml [PR #11182/76589bd9 backport][stable-12] nmcli: allow VxLan multicast and bridge port (#11251) 2025-12-02 21:41:33 +01:00
11240-btrfs-run-command.yml [PR #11240/8d51c5f6 backport][stable-12] btrfs module utils: pass command as list to run_command() (#11248) 2025-12-02 21:17:59 +01:00
11242-deps-enum.yml [PR #11242/0a802ecd backport][stable-12] deps module util: use Enum to represent states (#11247) 2025-12-02 21:17:43 +01:00
11245-monit-enum.yml [PR #11245/3d25aac9 backport][stable-12] monit: use enum (#11252) 2025-12-02 22:18:19 +01:00
11255-monit-integrationtests.yml [PR #11255/ac37544c backport][stable-12] monit: investigating tests again - using copilot on this one (#11271) 2025-12-10 13:39:54 +01:00
11256-fix-keycloak-roles-mapping.yml [PR #11256/a9540f93 backport][stable-12] keycloak_user_rolemapping: fix: failling to assign role to user (#11263) 2025-12-06 13:53:04 +01:00
11258-iptables_state.yml [PR #11258/0ef3eac0 backport][stable-12] iptables_state: get rid of temporary files (#11262) 2025-12-06 13:52:41 +01:00
11260-keycloak-realm-crash-when-no-realms.yml [PR #11260/a977c6f7 backport][stable-12] fix(sanitize_cr): avoid crash when realmrep is empty (#11268) 2025-12-08 23:06:16 +01:00
11265-fix-apk-3.yml [PR #11265/d4249071 backport][stable-12] apk: fix packages return value for apk-tools >= 3 (fix #11264) (#11272) 2025-12-10 13:40:05 +01:00
11285-extended-keycloak-user-profile-validations.yml [PR #11285/a55884c9 backport][stable-12] Add support for missing validations in keycloak_userprofile (#11302) 2025-12-22 11:13:57 +01:00
11309-keycloak-userprofile-selector-option.yml [PR #11309/9f5114dc backport][stable-12] keycloak_userprofile: Add missing selector option (#11333) 2025-12-28 10:00:10 +01:00
11314-scaleway-scw-profile-var-modules.yml [PR #11314/b3c066b9 backport][stable-12] Adding scw_profile parameter to Scaleway module utilities. (#11337) 2025-12-28 21:24:54 +01:00
11323-lxc-container-tempdir.yml [PR #11323/ec6b7bf9 backport][stable-12] lxc_container: use tempfile.TemporaryDirectory (#11326) 2025-12-25 08:29:23 +01:00
listen-ports-facts-return-no-facts.yml [PR #11332/280d269d backport][stable-12] fix: listen_ports_facts return no facts when using with podman (#11335) 2025-12-28 21:24:45 +01:00
private.yml [PR #11320/99b9680e backport][stable-12] Announce making all module utils, plugin utils, and doc fragments private (#11321) 2025-12-24 08:44:36 +01:00