community.general/tests/unit/plugins
patchback[bot] 94c04e4a8f
Some checks are pending
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
[PR #10270/1ed0f329 backport][stable-11] slack: support slack-gov.com (#10296)
slack: support slack-gov.com (#10270)

* slack: support slack-gov.com

Allow the slack module to work with GovSlack, hosted at https://slack-gov.com/

This re-uses the existing `domain` option so that users can set it to
`slack-gov.com` to use GovSlack. To maintain backwards compatibility,
any setting of `domain` for WebAPI tokens that is not `slack.com` or
`slack-gov.com` is ignored.

* fixup

* cleanup

* fix pep8

* clean up docs and better function name

* document default value

* try to fix yaml, not sure what is wrong

* Update plugins/modules/slack.py



* Update plugins/modules/slack.py



* Update plugins/modules/slack.py



---------


(cherry picked from commit 1ed0f329bc)

Co-authored-by: Wade Simmons <wsimmons@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-25 08:21:51 +02:00
..
become add systemd run0 as a become method (#8306) 2024-05-11 16:53:44 +02:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Callbacks: use ansible-core's version instead of trying to extract it (#10193) 2025-06-02 20:45:18 +02:00
connection [PR #10264/74ed0fc4 backport][stable-11] import mocks from community.internal_test_tools (#10266) 2025-06-17 21:24:13 +02:00
filter Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
inventory Remove proxmox content (#10110) 2025-06-08 16:18:16 +02:00
lookup Remove deprecated features and plugins for 11.0.0 (#10126) 2025-05-19 18:11:39 +02:00
module_utils [PR #10264/74ed0fc4 backport][stable-11] import mocks from community.internal_test_tools (#10266) 2025-06-17 21:24:13 +02:00
modules [PR #10270/1ed0f329 backport][stable-11] slack: support slack-gov.com (#10296) 2025-06-25 08:21:51 +02:00
plugin_utils Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00