ansible-role-seaweedfs
ansible-role-seaweedfs copied to clipboard
Default variables can't be overridden
Hi,
I'm trying to use the role, and it seems there are some problems with the variables. I want to use a version defined in the all vars, like thus:
weed:
version: '2.99'
But it's not taken into account, the only way is to put :
input:
version: '2.99'
I've also tried the weed_version, but it's not working either.
It seems the problem come from this line:https://github.com/bmillemathias/ansible-role-seaweedfs/blob/eb773b2fa8c3c5cd77f4d6c9e9aac4f314b5142d/tasks/main.yml#L4
Perhaps I'm missing something.
Thx for the role
You need the a -
in from of version and then it should work.
input:
- version: '2.99'
large_disk: false
....
roles:
- role: ansible-role-seaweedfs