0

I'm installing an ansible role with:

ansible-galaxy install geerlingguy.java

But this command install the latest version.

I need to install an old version like:

ansible-galaxy install geerlingguy.java:1.10.0

But this command launches this error:

ansible-galaxy install geerlingguy.java:1.10.0
- downloading role '0', owned by geerlingguy.java%3A1.10
[WARNING]: - geerlingguy.java:1.10.0 was NOT installed successfully: - sorry, geerlingguy.java:1.10.0 was not found on https://galaxy.ansible.com/api/.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
β.εηοιτ.βε
  • 33,893
  • 13
  • 69
  • 83
Manel
  • 1
  • 2
  • 1
    [_Install a specific version of a role by appending **a comma** and a version tag._](https://galaxy.ansible.com/docs/using/installing.html#role-versions) and not a colon, as you are trying to do it. – β.εηοιτ.βε Aug 05 '22 at 08:57

1 Answers1

0

As β.εηοιτ.βε indicated, the correct command was:

ansible-galaxy install geerlingguy.java,1.10.0
β.εηοιτ.βε
  • 33,893
  • 13
  • 69
  • 83
Manel
  • 1
  • 2