ansible-role-golang icon indicating copy to clipboard operation
ansible-role-golang copied to clipboard

Role fails to run - Error in Verify version

Open hax0rbana-adam opened this issue 1 year ago • 0 comments

Problem

Failure to run the role using the example playbook in the README.

Error message

TASK [fubarhouse.golang : Go-Lang | Verify version] **************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "The conditional check '(go_version_string not in go_version_output.stdout) and (\"go version devel\" not in go_version_output.stdout)\n' failed. The error was: error while evaluating conditional ((go_version_string not in go_version_output.stdout) and (\"go version devel\" not in go_version_output.stdout)\n): 'dict object' has no attribute 'stdout'"}

Steps to reproduce

sudo apt install ansible
sudo ansible-galaxy install fubarhouse.golang
echo '- hosts: localhost
  roles:
    - fubarhouse.golang' > golang.yml
sudo ansible-playbook golang.yml

hax0rbana-adam avatar Sep 10 '23 02:09 hax0rbana-adam