-
Notifications
You must be signed in to change notification settings - Fork 4
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
Validation period start/end time generation doesn't work on MacOS #73
Comments
You can try with |
Unfortunately |
Yes I think we can do that by using the os_family fact. |
Implemented in #75 Would you be able to try this PR @pedro-sys ? Ansible should now pick the good MacOS command seamlessly. |
hello |
Great! Thanks for testing @pedro-sys. I'll let @Nuttymoon review and then merge to main |
When adding a validator to a Subnet, we use
date
to generatesubnet_validator_start_time
andsubnet_validator_end_time
:ansible-avalanche-collection/roles/node/defaults/main.yml
Lines 105 to 106 in 9c22fe7
ansible-avalanche-collection/roles/subnet/defaults/main.yml
Lines 65 to 66 in 9c22fe7
A user reported that the default command doesn't work on MacOS.
I see 2 solutions:
Help wanted: We don't have Macs at our disposal for testing, so we need a MacOS user to find the right date command to obtain a string in RFC 3339 format, e.g.
2023-06-20T11:28:28+02:00
. Note that extra Jinja filters can be used to adapt the format (seereplace()
usage above).The text was updated successfully, but these errors were encountered: