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

[Bug]: check mode error #1

Open
1 task done
zerwes opened this issue Feb 5, 2024 · 0 comments
Open
1 task done

[Bug]: check mode error #1

zerwes opened this issue Feb 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zerwes
Copy link

zerwes commented Feb 5, 2024

Please try to fill out as much of the information below as you can. Thank you!

  • Yes, I've searched similar issues on GitHub and didn't find any.

Which version contains the bug?

No response

Describe the bug

TASK [netways.elasticstack.elasticsearch : Set the ca expiration date in days] ************************************************************************************************************************************
fatal: [zam01ber0.ber0.rosalux.org]: FAILED! => {"msg": "the field 'args' has an invalid value ({'elasticstack_ca_expiration_days': \"{{ ((elasticstack_ca_infos.not_valid_after | to_datetime()) - (ansible_date_time.date | to_datetime('%Y-%m-%d'))).days }}\"}), and could not be converted to an dict.The error was: time data '' does not match format '%Y-%m-%d %H:%M:%S'\n\nThe error appears to be in '/home/zerwes/git/ansible/.collections/ansible_collections/netways/elasticstack/roles/elasticsearch/tasks/elasticsearch-security.yml': line 37, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set the ca expiration date in days\n  ^ here\n"}

How to recreate the bug?

-C

@zerwes zerwes added the bug Something isn't working label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant