Why space is preserved in comma separated lists?

8 views
Skip to first unread message

anatoly techtonik

unread,
Sep 26, 2018, 11:29:17 AM9/26/18
to Ansible Project
If I do this:

  tasks:
  - name: install dependencies for screenshots under i3
    apt:
      package: maim, xclip

Ansible fails:

  fatal: [localhost]: FAILED! => {"changed": false, "msg": "No package matching ' xclip' is available"}

If space is removed, it works. Why not to strip space from lists automatically?
Reply all
Reply to author
Forward
0 new messages