wendrul
wendrul
WWindmill
Created by heavytobi on 10/22/2024 in #help
Ansible not usable
That's great! Let us know if it all works for you and we'll add this info in the docs
15 replies
WWindmill
Created by heavytobi on 10/22/2024 in #help
Ansible not usable
Hi @Julian @ 42 N.E.R.D.S., I'm not very familiar with dynamic inventories in ansible, but we can look into implementing it. That being said, you can add a name for the inventory file like this:
inventory:
- resource_type: ansible_dynamic_inventory # you can create this resource type for example
name: hcloud.yml
inventory:
- resource_type: ansible_dynamic_inventory # you can create this resource type for example
name: hcloud.yml
It will be written as hcloud.yml and read by the ansible-playbook command. If you could try and see if this is sufficient to make dynamic inventories work that would be great, we could add the steps in the documentation. Otherwise, we will add this to backlog and work the additional features in when we get the chance.
15 replies
WWindmill
Created by brianthegreat on 8/29/2024 in #help
[Solved] DataFrame in Script and Flow Showing Incorrect Headers
Hmm, I agree I would have expected it to work like that too. I'm not sure if it's an issue with how pandas serializes dataframes or if it has to do with windmill, but i can try checking. In any case there seems to be a workaround, you can just add this and it will behave as you expect:
[...]
return df.to_dict('records')
[...]
return df.to_dict('records')
4 replies