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 host vars not imported #406

Open
plaqdk opened this issue Dec 16, 2024 · 2 comments
Open

Ansible host vars not imported #406

plaqdk opened this issue Dec 16, 2024 · 2 comments

Comments

@plaqdk
Copy link

plaqdk commented Dec 16, 2024

With 4.0.7 my import works again but there is no hosts vars imported

What i get in rundeck (ansible groups set as tags)
MH-AKA-PX01
Tags: linux int-mhbackups intrastructure netbox-synced prod

But no host vars are imported as node attributes

on old nodes i still have all the node attributes(ansible host_vars):

auto: true
cv_proxy_hostname: 172.16.10.12
ansible_python_interpreter: auto_silent
vcsa_contact_person_internal: Alshu
cluster_group: miraclehosting
vcsa_last_backup: 5/9/2024 9:36:37 PM
vcsa_storage: T3
sites: [dc1]
cluster_type: vmware-esxi
platforms: [microsoft-windows-server-2022-64-bit]

@plaqdk
Copy link
Author

plaqdk commented Dec 16, 2024

I do not get any errors in the log so i do not know if it is trying to import the host_vars and fails or if the gui option is not working
is there a option to run verbose ?

@plaqdk
Copy link
Author

plaqdk commented Dec 16, 2024

I have just tested with the setting
resources.source.1.config.ansible-gather-facts=true
resources.source.1.config.ansible-ignore-errors=true
resources.source.1.config.ansible-import-inventory-vars=true

and now it get both new facts and host_vars

cv_proxy_port: 8403
cluster: MH-Shared02
auto: true
processor_count: 1
tz: CET
cluster_group: miraclehosting
sites: ["dc1"]

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