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.vars.hostvars.HostVarsVars object #1

Open
otopy opened this issue Mar 28, 2023 · 3 comments
Open

ansible.vars.hostvars.HostVarsVars object #1

otopy opened this issue Mar 28, 2023 · 3 comments

Comments

@otopy
Copy link

otopy commented Mar 28, 2023

При доавлении ноды

The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'join_path'

The error appears to be in '/roles/workers/tasks/join.yml': line 8, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Join worker nodes
  ^ here
@otopy
Copy link
Author

otopy commented Mar 28, 2023

Воникает если прокатать сначало мастер, а потом запустить отдельно установку воркеров

@BigKAA
Copy link
Owner

BigKAA commented Mar 29, 2023

Спасибо, посмотрю.

Изначально плейбук был рассчитан на установку тестовых кластеров. Т.е. установка всего кластера за один проход.

@selerok
Copy link

selerok commented Nov 24, 2023

да и если остальные мастера раскомитить, то выходит подобное
Centos9
pytnon 3.9.18
ansible core 2.14.9
jinja 3.1.2

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

3 participants