Skip to content

Instantly share code, notes, and snippets.

@johnmaguire
Created January 26, 2024 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnmaguire/097af60c079630663e224447ecbb0f08 to your computer and use it in GitHub Desktop.
Save johnmaguire/097af60c079630663e224447ecbb0f08 to your computer and use it in GitHub Desktop.
❯ ansible-playbook provision.yml --limit 'ingress.demeter.johnmaguire.me'
[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.16.2
PLAY [Base provisioning] ********************************************************************************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************************************************************************************
fatal: [ingress.demeter.johnmaguire.me]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "failed": true, "module_stderr": "/bin/sh: 1: /usr/bin/python: not found\nError: Command not found\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 1, "warnings": ["No python interpreters found for host ingress.demeter.johnmaguire.me (tried ['python3.12', 'python3.11', 'python3.10', 'python3.9', 'python3.8', 'python3.7', 'python3.6', '/usr/bin/python3', '/usr/libexec/platform-python', 'python2.7', '/usr/bin/python', 'python'])"]}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
PLAY RECAP **********************************************************************************************************************************************************************************
ingress.demeter.johnmaguire.me : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment