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

not idempotent if plugin modifies key/values #13

Open
markus2330 opened this issue Aug 24, 2022 · 0 comments
Open

not idempotent if plugin modifies key/values #13

markus2330 opened this issue Aug 24, 2022 · 0 comments

Comments

@markus2330
Copy link
Collaborator

markus2330 commented Aug 24, 2022

When I write non-utf8 to toml plugin, long sequences of characters are generated (probably doubled every time Ansible gets executed). E.g. Kü����������������������������������������che.

There are at least two problems:

  1. Ansible should preferable write its own config, not what it got from the host

  2. Ansible does not show the warning:

 2: Module toml issued the warning C03200:
        Validation Semantic: Key 'user:/sw/libelektra/.../#0/current/.../loc' contained non-UTF-8 value. Invalid byte sequences will be replaced with replacement character U+FFFD. Mark the key as binary and use base64 plugin to preserve non-UTF-8 values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant