Skip to content

dnf_config_manager fails in air-gapped environments #12619

Description

@JoshkVFX

Summary

I am trying to use dnf_config_manager in an air-gapped environment and it's failing due to the dnf repolist --all --verbose command inside the get_repo_states function attempting to query the internet for updated repository metadata

I think it would be useful to include some way of saying either, use the existing cache, or skip the errors

After a bit of googling I found the dnf repolist argument --setopt=skip_if_unavailable=True which may help

Thanks,
Josh

Issue Type

Feature Idea

Component Name

dnf_config_manager

Additional Information

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue/PR relates to a feature requestmodulemodulepluginsplugin (any type)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions