You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to deactivate a repository with the module zypper_repository, then this doesn't work.
When I look at the code, I think this is because the code that was introduced in f0fcb22 where the fields for e.g. repodata['enabled'] are overwritten, if the repo-path is provided.
I tried to use name instead of repo, but that doesn't work because state defaults to present and present required repo to be filled.
Summary
When I try to deactivate a repository with the module zypper_repository, then this doesn't work.
When I look at the code, I think this is because the code that was introduced in f0fcb22 where the fields for e.g. repodata['enabled'] are overwritten, if the repo-path is provided.
I tried to use name instead of repo, but that doesn't work because state defaults to present and present required repo to be filled.
Issue Type
Bug Report
Component Name
zypper_repository
Ansible Version
Community.general Version
$ ansible-galaxy collection list community.general
Configuration
OS / Environment
WSL (Windows subsystem for linux)
Steps to Reproduce
find a repository that is installed on the VM, e.g. packages-microsoft-com-prod-sle15 on a Azure VM
Expected Results
I expected the repository to be disabled
Actual Results
The task did not change anything and the repository is still enabled
Code of Conduct
The text was updated successfully, but these errors were encountered: