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

[Bug]: No package matching 'gnupg' is available #37

Closed
JonasPammer opened this issue Mar 25, 2022 · 0 comments · Fixed by #43 or #50
Closed

[Bug]: No package matching 'gnupg' is available #37

JonasPammer opened this issue Mar 25, 2022 · 0 comments · Fixed by #43 or #50
Labels
kind/bug Categorizes issue or PR as related to a bug (i.e. something is not working). needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@JonasPammer
Copy link
Owner

What happened?

https://github.com/JonasPammer/ansible-role-core_dependencies/runs/5694366210

The role itself should pre-heat the the package manager cache.
Maybe not every-time, but at least when the failure as seen in above workflow run happens.
This is currently only being done when the connection failed, e.g.:

raw: "LANG=C apt-get update && apt-get install -y {{ bootstrap_packages }}"

This has also been reported a long time ago in robertdebock's original role, but with a stagnating pull request: robertdebock/ansible-role-bootstrap#57

Playbook

---
- name: prepare
  hosts: all
  become: yes
  gather_facts: no

  roles:
    - role: jonaspammer.bootstrap

Role Version

1.0.0

Environment / Control Node Information

debian 10
debian 11

ansible 2.9, 2.10, 2.11, 2.12

Environment / Managed Node Information

github's ubuntu-latest
@JonasPammer JonasPammer added kind/bug Categorizes issue or PR as related to a bug (i.e. something is not working). needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Mar 25, 2022
JonasPammer added a commit to JonasPammer/ansible-role-core_dependencies that referenced this issue Mar 25, 2022
JonasPammer added a commit to JonasPammer/ansible-role-core_dependencies that referenced this issue Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug (i.e. something is not working). needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
1 participant