-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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
Add arrays support for xfconf module #46308
Add arrays support for xfconf module #46308
Comments
Files identified in the description:
If these files are inaccurate, please update the |
Please submit a Pull Request with your change. Thanks! |
@jbenden I'm not familiar with the Pull Request mechanism, so I prefer not to do it myself for this little modification. |
I've created a PR for you. Thanks for your contributions! |
Files identified in the description: If these files are inaccurate, please update the |
I believe this breaks expected behavior, such as when strings naturally contain commas: - name: Set titlebar button layout
xfconf:
channel: xsettings
property: /Gtk/DecorationLayout
value_type: "string"
value: "close,maximize,minimize,menu:" However, since
|
close_me |
closed via ansible-collections/community.general#693 |
Closing per above. |
SUMMARY
Add arrays support for the xfconf module.
ISSUE TYPE
COMPONENT NAME
xfconf
ADDITIONAL INFORMATION
With this modification, array values can be queried and set. Also, if someone wants to create a value and force it to be an array, it just requires to add the "force_array: yes" to the playbook.
Here comes an usage example:
The modified xfconf.py can be found here: https://gist.github.com/nicovell3/a32f3a144d037ed018ebccd8a94e979d
I've tested some playbooks (get information and so on) and everything is working as it should.
The text was updated successfully, but these errors were encountered: