Skip to content

Role fails to run - Error in Verify version #162

@hax0rbana-adam

Description

@hax0rbana-adam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions