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

Cant install git and other packages #7

Open
Tobias-Fischer-Official opened this issue Mar 8, 2018 · 1 comment
Open

Cant install git and other packages #7

Tobias-Fischer-Official opened this issue Mar 8, 2018 · 1 comment

Comments

@Tobias-Fischer-Official
Copy link

Tobias-Fischer-Official commented Mar 8, 2018

When i try to run one of my roles (it has gantsign.oh-my-zsh as dependency) with this container, i get the following error:

TASK [gantsign.oh-my-zsh : install dependencies] *******************************
failed: [localhost] (item=git) => {"changed": false, "item": "git", "msg": "No package matching 'git' is available"}
failed: [localhost] (item=zsh) => {"changed": false, "item": "zsh", "msg": "No package matching 'zsh' is available"}

The code of the executed task is

---
- name: install dependencies
  become: yes
  package:
    name: '{{ item }}'
    state: present
  with_items:
    - git
    - zsh

In your container for ubuntu1404 and in my local xenial vagrant-machine it is working without problems.
Probably im stupid, and the error is on my end, but im kinda out of ideas what to try next to solve the problem. Any help is greatly appreciated.

@Tobias-Fischer-Official
Copy link
Author

i just figured out that there is an apt update task missing before the quoted task...
so this is not an issue with the docker image, im sorry for any inconvieniences i caused, this ticket can be closed or deleted.

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

No branches or pull requests

1 participant