mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
yum module properly check for None config_file (#46641)
* yum module properly check for None config_file * add conf_file test cases to yum integration tests Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
9764f32513
commit
fb6e91bf98
2 changed files with 20 additions and 2 deletions
|
@ -1306,8 +1306,8 @@ class YumModule(YumDnf):
|
|||
if self.conf_file and os.path.exists(self.conf_file):
|
||||
self.yum_basecmd += ['-c', self.conf_file]
|
||||
|
||||
if repoq:
|
||||
repoq += ['-c', self.conf_file]
|
||||
if repoq:
|
||||
repoq += ['-c', self.conf_file]
|
||||
|
||||
if self.skip_broken:
|
||||
self.yum_basecmd.extend(['--skip-broken'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue