hudson.AbortException: Ansible playbook execution failed

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • deployment YAML script with Jenkins
    via by GBANE FETIGUE,
  • Hi, We are using a mix of static + dynamic inventory script (openstack.py) for managing our hosts. I was trying to configure jenkins to run my playbooks. I am seeing the below error while running the playbook. Can you please suggest? Let me know if any details required. Thanks. ------ Inventory script (/var/lib/jenkins/caps-sps/jenkins_mesos/ansible/inventory/openstack.py) had an execution error: Error fetching server list on defaults:: /var/lib/jenkins/caps-sps/jenkins_mesos/ansible/inventory/openstack.py:43: Expected key=value host variable assignment, got: argparse FATAL: command execution failed hudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:218) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:192) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) ERROR: Ansible playbook execution failed Finished: FAILURE -------- Thanks, Govind
    via by Govindaraj Venkatesan,
  • Hi, We are using a mix of static + dynamic inventory script (openstack.py) for managing our hosts. I was trying to configure jenkins to run my playbooks. I am seeing the below error while running the playbook. Can you please suggest? Let me know if any details required. Thanks. ------ Inventory script (/var/lib/jenkins/caps-sps/jenkins_mesos/ansible/inventory/openstack.py) had an execution error: Error fetching server list on defaults:: /var/lib/jenkins/caps-sps/jenkins_mesos/ansible/inventory/openstack.py:43: Expected key=value host variable assignment, got: argparse FATAL: command execution failed hudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:218) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:192) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) ERROR: Ansible playbook execution failed Finished: FAILURE -------- Thanks, Govind
    via by Govindaraj Venkatesan,
  • GitHub comment 6#271873597
    via GitHub by gundevel
    ,
    • hudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:227) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:200) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)

    Users with the same issue

    Unknown visitor1 times, last one,