OpenStack Technical Articles

Ansible playbooks Are Not Running – Exec format error

 Ansible playbooks Are Not Running –  Exec format error

 Description:

When running on any playbooks in ansible node getting the following error,

ERROR: problem running ([Errno 8] Exec format error)

Solution:

There could be issue with the last version mismatch in the node, Some case parameters missing and permission issue cloud a reason

Follow the below steps to resolve the issue

# sudo apt-get purge ansible
# sudo apt-get install software-properties-common
# sudo apt-add-repository ppa:ansible/ansible
# sudo apt-get update
# sudo apt-get install ansible
# ansible –version

Once the bove steps done check the ansible version using the below command, #ansible –version

Tags:ansible –version,ansible,ansible commands,playbooks,playbooks execution issue,

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.