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

Ansible plugin cannot reach servers in ec2 dynamic inventory.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ansible-plugin
    • None
    • Ansible Plugin: .5
      Jenkins: 2.7.1

      Ansible fails to reach hosts when using dynamic inventory with ec2.py. The message for each and every host is:

      fatal: [HOST_NAME]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}
      

      The same scripts works just fine outside of ansible.

            sirot Jean-Christophe Sirot
            cscan Collin Scangarella
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: