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 relevant directories. Regards Racke
On 10/14/2021 2:14 PM dulha...@mailbox.org wrote:On 10/14/2021 1:44 PM Sandip Bhattacharya <sand...@showmethesource.org> wrote:On 14.10.21 11:49, dulhaver via Ansible Project wrote: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]: # centos7Is this literally what is in your inventory.yaml file? Is that even valid yaml? Shouldn't it be: all: hosts: hostname: # centos7this is my literal inventory file: https://paste.debian.net/1215386/ it works for other playbooks, it works for ad-hoc commands (where I addresse a particular host from that group)
-- Ecommerce and Linux consulting + Perl and web application programming. Debian and Sympa administration. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/198061a5-4f5f-e241-45ef-293283b6ac1a%40linuxia.de.
OpenPGP_0x5B93015BFA2720F8.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature