github_repo always reports changed status #2376
Labels
bug
This issue/PR relates to a bug
has_pr
module
module
needs_triage
plugins
plugin (any type)
python3
source_control
Summary
When using the
github_repo
module to create a repository, the module always reports "changed" even when the repository already exists. Consider the following playbook:Running it once produces:
Running it one or more additional times reports:
Issue Type
Bug Report
Component Name
github_repo
Ansible Version
Configuration
OS / Environment
Fedora 33
Steps to Reproduce
(see the playbook in the description)
Expected Results
I expect the module to report "ok" rather than "changed" if the named repository already exists.
Actual Results
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: