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

"Authentication failure" when using ansible plugin

XMLWordPrintable

      When I run the playbook in jenkins i get a failure at TASK setup

       

      TASK [setup] *******************************************************************
      ok: [server1]
      fatal: [server2]: UNREACHABLE! => {"changed": false, "msg": "Authentication failure.", "unreachable": true}

      When I run the playbook at command line without jenkins it works fine.

       

      TASK [setup] *******************************************************************
      ok: [server1]
      ok: [server2]

      If i run against multiple server, some will work and some will fail.

      Always the same one.

            sirot Jean-Christophe Sirot
            shane_22 Shane O'Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: