geerlingguy / ansible-collection-mac

Collection of macOS automation tools for Ansible.
https://galaxy.ansible.com/geerlingguy/mac
MIT License
298 stars 113 forks source link

Cannot install collection with galaxy: Connection Reset By Peer #96

Open MissingRoberto opened 4 months ago

MissingRoberto commented 4 months ago

For some reason I get this problem when trying to install the collection:

 ansible-galaxy install -r requirements.yml
Starting galaxy role install process
[WARNING]: - elliotweiser.osx-command-line-tools (2.3.0) is already installed - use --force to change version to unspecified
[WARNING]: - geerlingguy.dotfiles (1.2.1) is already installed - use --force to change version to unspecified
Starting galaxy collection install process
Process install dependency map
[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an unexpected error when getting available versions of collection geerlingguy.mac: Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/v3/collections/geerlingguy/mac/versions/?limit=100': <urlopen error [Errno 54]
Connection reset by peer>. <urlopen error [Errno 54] Connection reset by peer>
ERROR! Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/v3/collections/geerlingguy/mac/versions/?limit=100': <urlopen error [Errno 54] Connection reset by peer>. <urlopen error [Errno 54] Connection reset by peer>

I have the same problem with geerlingguy/mac-dev-playbook

Requirements:


---
roles:
  - name: elliotweiser.osx-command-line-tools
  - name: geerlingguy.dotfiles

collections:
  - name: geerlingguy.mac

Any ideas?

thiesaj commented 4 months ago

The error message says it’s already installed?

Sent from my iPhone

On Apr 27, 2024, at 04:32, Roberto Jiménez Sánchez @.***> wrote:

WARNING]: - geerlingguy.dotfiles (1.2.1) is already installed - use --force to change version to unspecified

guruevi commented 1 month ago

The error means your computer cannot connect to Ansible Galaxy, either Galaxy is down or blocked by something on your network or an anti malware tool.