Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41235

Ansible plugin does not escape single quotes in extra vars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ansible-plugin
    • None

      Ansible Plugin 0.6.2

      Single quotes in the value of an extra var are not properly escaped, causing the command to fail. This only happens if the variable has a space in the value as well, as that is when the plugin wraps the variable in single quotes instead of double quotes.

      ERROR! failed at splitting arguments, either an unbalanced jinja2 block or quotes: my_variable='this ain't right '
      

            sirot Jean-Christophe Sirot
            wittman Dave Wittman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: