Hi,
Anybody has ideas about this issue? It’s a very simple playbook.
{“failed”: true, “msg”: “module (setup) is missing interpreter line”}
It happens even with a very simple playbook like below.
- hosts: localhost
gather_facts: no
vars:
ansible_python_interpreter: /usr/bin/python
tasks:
-
setup:
-
debug: msg = “Hostname is {{ ansible_hostname }}”
Thanks.