Unable to use masked passwords when passing in extra-vars

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I am unable to pass in a masked password as a variable via --extra-vars. I have tried using the EnvInject plugin and the Masked Password plugin to create the variable PASSWORD.

      I then pass it in via

      --etxra-vars="my_password=${PASSWORD}"
      

      When I debug the ansible playbook instead of my_password being the masked value it is "*******".

      It looks like the plugin does not attempt to unmask the variable before passing it to the playbook.

            Assignee:
            Jean-Christophe Sirot
            Reporter:
            Richard Lucas
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: