wmill sync pull does not sync plain files as documented

Hi, I'm on wmill --version 1.409.4 and windmill CE v1.409.4-8-gba5539a18 When I follow the docs from https://www.windmill.dev/docs/getting_started/scripts_quickstart/ansible#other-non-inventory-file-resources
$ wmill sync pull
Computing the files to update locally to match remote (taking wmill.yaml into account)
remote ([...]) -> local: 1 changes to apply
+ resource u/julian/chivalrous_c_my_json.resource.yaml
$ wmill sync pull
Computing the files to update locally to match remote (taking wmill.yaml into account)
remote ([...]) -> local: 1 changes to apply
+ resource u/julian/chivalrous_c_my_json.resource.yaml
From the docs "When pulling this resource on the CLI, you will find two files: <resource_name>.resource.file.ini and <resource_name>.resource.yaml" so I'd expect a chivalrous_c_my_json.resource.file.json (or somethings like that. It states two files. I get one file. Where's my error? Cheers, Julian
Ansible quickstart | Windmill
In this quickstart guide, we will write our first script/playbook with Ansible.
9 Replies
rubenf
rubenf4d ago
Hi @Julian 42 N.E.R.D.S. , is the value of the resource empty maybe ? Otherwise what's in the the yaml file right now
Julian @ 42 N.E.R.D.S.
Hi @rubenf nope it isn't empty. I put "normal" boilerplate stuff in it. I wanted to try out the mechanism but got stuck, when I didn't get the file.
No description
Julian @ 42 N.E.R.D.S.
@rubenf it seems to have to do with file type json. I can confirm, that I can pull ini files and toml files. My first test when reporting the issue only was with a file_type of json
rubenf
rubenf13h ago
will investigate, thanks it's probably a small error (cc @Etienne )
Julian @ 42 N.E.R.D.S.
If I can support you with more input, just ask
rubenf
rubenf13h ago
I would expect we can reproduce this easily it probably escaped our testing thanks for the report
Julian @ 42 N.E.R.D.S.
you're welcome
rubenf
rubenf12h ago
@Etienne fixed it, we will do a release soon