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

[ansible compatibility] ansible 2.16 errors out with role #408

Open
tarzanek opened this issue Oct 1, 2024 · 1 comment
Open

[ansible compatibility] ansible 2.16 errors out with role #408

tarzanek opened this issue Oct 1, 2024 · 1 comment

Comments

@tarzanek
Copy link
Collaborator

tarzanek commented Oct 1, 2024


TASK [ansible-scylla-node : Start seeders serially] *********************************************************************************************************************************************
task path: /home/scyllaadm/azure-test/scylla-ansible-roles/ansible-scylla-node/tasks/common.yml:349
fatal: [10.0.2.4]: FAILED! => {"msg": "The conditional check 'hostvars[item]['broadcast_address'] in scylla_seeds or item in scylla_seeds' failed. The error was: error while evaluating conditional (hostvars[item]['broadcast_address'] in scylla_seeds or item in scylla_seeds): 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'broadcast_address'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'broadcast_address'\n\nThe error appears to be in '/home/scyllaadm/azure-test/scylla-ansible-roles/ansible-scylla-node/tasks/common.yml': line 349, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Start seeders serially\n      ^ here\n"}

this is how it starts failing

when I downgrade similar to #352

sudo pip3 install --upgrade ansible==6.7.0

it starts working ...

@tarzanek tarzanek changed the title ansible 2.16 has problems [ansible compatibility] ansible 2.16 errors out with role Oct 1, 2024
@tarzanek
Copy link
Collaborator Author

tarzanek commented Oct 1, 2024

fwiw above was on Ubuntu 24 and ansible in the repos of Ubuntu 24.0.4.1

ansible-core/noble 2.16.3-0ubuntu2 all
ansible/noble 9.2.0+dfsg-0ubuntu5 all

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