Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No package matching '' is available #119

Closed
dbolotin opened this issue Jul 19, 2020 · 3 comments
Closed

No package matching '' is available #119

dbolotin opened this issue Jul 19, 2020 · 3 comments
Labels

Comments

@dbolotin
Copy link

Version Information

Ansible: 2.9.10

Role: 2.6.5 (downgrading to 2.6.4 resolved the issue)

OS: Ubuntu 20.04

Steps to Reproduce

- name: Install Docker
  include_role:
    name: haxorof.docker_ce
  vars:
    docker_sdk: yes
    docker_compose: yes

Expected Behavior

Installs Docker CE

Actual Behavior

TASK [haxorof.docker_ce : Install additional packages (OS package manager)] ************************************************************************************************************************************************************
FAILED - RETRYING: Install additional packages (OS package manager) (3 retries left).
FAILED - RETRYING: Install additional packages (OS package manager) (2 retries left).
FAILED - RETRYING: Install additional packages (OS package manager) (1 retries left).
failed: [my_host] (item=) => changed=false 
  ansible_loop_var: item
  attempts: 3
  item: ''
  msg: No package matching '' is available
ok: [my_host] => (item=['libffi-dev', 'libssl-dev'])

@dbolotin dbolotin added the fix label Jul 19, 2020
@haxorof
Copy link
Owner

haxorof commented Jul 19, 2020

Thanks for reporting this! Will look into this, might have introduced a bug when I did some refactoring.

@haxorof
Copy link
Owner

haxorof commented Jul 19, 2020

Manage to reproduce the error you got and got a fix for it. Did not test scenario where pip is already installed and missed this bug that I introduced. Will release a new version within the hour.

@dbolotin
Copy link
Author

Thank you! Confirm that issue is fixed in 2.6.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants