Aria Automation builds leveraging Ansible fail with "A general system error occurred: vix error codes = (1, 0).\n"
search cancel

Aria Automation builds leveraging Ansible fail with "A general system error occurred: vix error codes = (1, 0).\n"

book

Article ID: 398129

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Aria Automation builds leveraging Ansible Tower to run powershell commands on provisioned windows hosts fails with the following error:

fatal: [<hostname> -> localhost]: FAILED! => {"changed": false, "msg": "A general system error occurred: vix error codes = (1, 0).\n"}

 

Environment

Aria Automation 8.x

Cause

Ansible is using vmware_vm_shell to execute a command within the provisioned machine

The credentials for the provisioned machine are either expired, locked, or otherwise incorrect

Resolution

If the credentials are wrong:

  1. Update the credentials in the Ansible runbook to be correct

If the account is either locked or has an expired password:

  1. Update the VM template to ensure the account is unlocked with a current and valid password