• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ansible-tower-plugin
    • None
    • Jenkins ver. 2.126
      Ansible Tower Plugin 0.8.5

      I have problem with the plugin when I want to use credentials other then the default.

      The credential id is 11

      "id": 11,
      "type": "credential",
      "url": "/api/v2/credentials/11/",
      

      The name of the credential is:
      "Secret Server MS Michal"

      "name": "Secret Server MS Michal"
      

       

      Does not matter if the ID or a Name is used in the configuration, the plugin is not able to find the credential in the Tower:

      Beginning Ansible Tower Run on Prod
      Requesting tower to run job template 37
      ERROR: Unable to request job template invocation Unable to find credential Secret Server MS Michal: Unable to get any results when looking up Secret Server MS Michal
      

      or

      ERROR: Unable to request job template invocation Credential 11 does not exist in tower
      

          [JENKINS-51770] Unable to find credential

          m t created issue -
          m t made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          John Westcott made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          John Westcott made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          John Westcott made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Dominique Thornton made changes -
          Comment [ I see that this code for this appears to be implemented, but I'm not able to include custom credentials when running templates via this plugin.

           

          Is there a certain parameter or format to be used when including custom creds?

           

          Jenkins ver: 2.203

          Tower: 3.6.2

          Tower Jenkins Plugin: 0.14.0 ]

            johnwestcottiv John Westcott
            mmt m t
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: