Skip to content

molecule 5 failing to detect python (obsd) #138

Open
@charlesrocket

Description

Issue Type

  • Bug report

Molecule and Ansible details

After 5.0 release OpenBSD host facts can't detect python https://github.com/charlesrocket/essential-collection/actions/runs/4760987268/jobs/8470507361

Same behavior with ansible_python_interpreter: auto.
WARNING vagrant driver is not installed is also new, but this is not an issue for fbsd/nbsd.

requirements file:

ansible
ansible-lint
docker
molecule
molecule-plugins[docker]
molecule-plugins[vagrant]
python-vagrant

WARNING: molecule-plugins 23.4.0 does not provide the extra 'vagrant'

Not sure if this is plugin (#132) or molecule or both.

Desired Behavior

Working test

Actual Behaviour

  fatal: [instance]: FAILED! => {
      "ansible_facts": {},
      "changed": false,
      "failed_modules": {
          "ansible.legacy.setup": {
              "ansible_facts": {
                  "discovered_interpreter_python": "/usr/bin/python"
              },
              "failed": true,
              "module_stderr": "Shared connection to 127.0.0.1 closed.\r\n",
              "module_stdout": "/bin/sh: /usr/bin/python: not found\r\n",
              "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error",
              "rc": 127
          }
      },
      "msg": "The following modules failed to execute: ansible.legacy.setup\n"
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions