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

2.5.0+ should work on ansible 2.19.17 but refuses #91

Closed
gloomytrousers opened this issue Jan 31, 2021 · 2 comments
Closed

2.5.0+ should work on ansible 2.19.17 but refuses #91

gloomytrousers opened this issue Jan 31, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gloomytrousers
Copy link

Summary

I'm on Fedora 33 and have just updated the role from 2.2.0 to 2.5.2. As per #83 and #87, I think I should be able to run my playbook on version ansible-2.9.17-2.fc33.noarch (from the Fedora updates-testing repo) but I get an error "Ansible v2.9.17 is not supported by this role. Please install >= v2.10.4".

Am I missing something? I downgraded back to 2.2.0 and my playbook works. I can't work out what I've done wrong here.

Issue Type

  • Bug Report
[russ@gigalith infrastructure-ansible]$ ansible --version
ansible 2.9.17
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/russ/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.9/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.9.1 (default, Jan 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)]

Steps to Reproduce

  • Up-to-date Fedora 33 with Ansible 2.9.17 installed from updates-testing repo.

  • Install latest version of role with ansible-galaxy role install xanmanning.k3s --force (2.5.2 at time of writing)

  • Run playbook which uses the xanmanning.k3s role.

Expected Result

Playbook runs.

Actual Result

Playbook fails:

TASK [xanmanning.k3s : Check that Ansible v2.9.17 is supported by this role] ******************************************************************
fatal: [host.example.com]: FAILED! => {
    "assertion": "ansible_version.string is version_compare(k3s_ansible_min_version, '>=')",
    "changed": false,
    "evaluated_to": false,
    "msg": "Ansible v2.9.17 is not supported by this role. Please install >= v2.10.4"
}

NO MORE HOSTS LEFT ****************************************************************************************************************************
@xanmanning
Copy link
Member

Huge brain fart. Please try v2.5.3

@gloomytrousers
Copy link
Author

That's fixed it. Many thanks for the speedy response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants