Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
> On 10/14/2021 3:05 PM Sandip Bhattacharya wrote: > > Can you do: > ansible [hostname] -m setup yes, that works > On 10/14/2021 Jean-Yves LENHOF wrote: > > Did you surcharge the python interpreter variable in a config file ? (/etc/ansible.cfg, ~/.ansible.cfg, etc...) I had a similar

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread Sandip Bhattacharya
On 14.10.21 14:03, dulhaver via Ansible Project wrote: On 10/14/2021 1:41 PM dulhaver via Ansible Project wrote: also I can run ad-hoc commands (like ping) on that target successfully (which should proove to some extend that python can be addressed on target, shouldn't it?) this i.e.

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-10-14 14:14, dulhaver via Ansible Project a écrit : On 10/14/2021 1:44 PM Sandip Bhattacharya wrote: On 14.10.21 11:49, dulhaver via Ansible Project wrote: > I am running a playbook to install postgresql against a centos7 (python 2.75) target and

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread Stefan Hornburg (Racke)
On 14/10/2021 14:23, dulhaver via Ansible Project wrote: the '# centos7' comment on 2 targets is legal I believe. To rule this out I have removed it for a test run. Still the error was present Somewhere the value /usr/bin/python3 must come from ... try to grep for this string through all

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
the '# centos7' comment on 2 targets is legal I believe. To rule this out I have removed it for a test run. Still the error was present > On 10/14/2021 2:14 PM dulha...@mailbox.org wrote: > > > > On 10/14/2021 1:44 PM Sandip Bhattacharya > > wrote: > > > > > > On 14.10.21 11:49,

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
> On 10/14/2021 1:44 PM Sandip Bhattacharya wrote: > > > On 14.10.21 11:49, dulhaver via Ansible Project wrote: > > I am running a playbook to install postgresql > > against a centos7 (python 2.75) target > > and am getting this error about a bad python

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
> On 10/14/2021 1:41 PM dulhaver via Ansible Project > wrote: > > > also I can run ad-hoc commands (like ping) on that target successfully (which > should proove to some extend that python can be addressed on target, > shouldn't it?) this i.e. also works ansible [hostname] -m shell -a

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread Sandip Bhattacharya
On 14.10.21 11:49, dulhaver via Ansible Project wrote: I am running a playbook to install postgresql against a centos7 (python 2.75) target and am getting this error about a bad python interpreter . I try to solve this

Fwd: Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
also I can run ad-hoc commands (like ping) on that target successfully (which should proove to some extend that python can be addressed on target, shouldn't it?) > On 10/14/2021 1:37 PM dulhaver via Ansible Project > wrote: > > > > On 10/14/2021 1:15 PM 'Jean-Yves LENHOF' via Ansible

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
> On 10/14/2021 1:15 PM 'Jean-Yves LENHOF' via Ansible Project > wrote: > > > Le 2021-10-14 13:05, dulhaver via Ansible Project a écrit : > >> On 10/14/2021 12:59 PM 'Jean-Yves LENHOF' via Ansible Project > >> wrote: > >> > >> > >> Le 2021-10-14 12:56, dulhaver via Ansible Project a

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-10-14 13:05, dulhaver via Ansible Project a écrit : On 10/14/2021 12:59 PM 'Jean-Yves LENHOF' via Ansible Project wrote: Le 2021-10-14 12:56, dulhaver via Ansible Project a écrit : > thx for the hint > >> On 10/14/2021 12:16 PM 'Jean-Yves LENHOF' via Ansible Project >> wrote: >> >>

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
> On 10/14/2021 12:59 PM 'Jean-Yves LENHOF' via Ansible Project > wrote: > > > Le 2021-10-14 12:56, dulhaver via Ansible Project a écrit : > > thx for the hint > > > >> On 10/14/2021 12:16 PM 'Jean-Yves LENHOF' via Ansible Project > >> wrote: > >> > >> Maybe something wrong with

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-10-14 12:56, dulhaver via Ansible Project a écrit : thx for the hint On 10/14/2021 12:16 PM 'Jean-Yves LENHOF' via Ansible Project wrote: Maybe something wrong with alternatives ? > alternatives --list | grep -i python turns out empty. have tried to get something working with

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
thx for the hint > On 10/14/2021 12:16 PM 'Jean-Yves LENHOF' via Ansible Project > wrote: > > Maybe something wrong with alternatives ? > > alternatives --list | grep -i python turns out empty. have tried to get something working with > alternatives --install /usr/bin/python python

Re: [ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-10-14 11:49, dulhaver via Ansible Project a écrit : I am running a playbook to install postgresql [1] against a centos7 (python 2.75) target and am getting this error about a bad python interpreter [2]. I try to solve this via the inventory.yml all: hosts: [hostname]:

[ansible-project] centos7 target - sudden python interpreter trouble

2021-10-14 Thread dulhaver via Ansible Project
I am running a playbook to install postgresql https://paste.debian.net/1215359/ against a centos7 (python 2.75) target and am getting this error about a bad python interpreter https://paste.debian.net/1215357/ . I try to solve this via the inventory.yml all: hosts: [hostname]: