Re: [ansible-project] Listing installed packages

2021-10-14 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-10-14 19:21, lift...@gmail.com a écrit : I know I can use the package_facts module to retrieve a list of installed packages, but I'm having trouble formatting these. I'd like to format it similar to the following: Package: Version: Currently I'm doing the following (I'm showing

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 '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 Proje

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 work

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]:

Re: [ansible-project] lvol module - depency problem parted/gparted

2021-10-12 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-10-12 14:50, dulhaver via Ansible Project a écrit : > > On 10/12/2021 1:31 PM 'Jean-Yves LENHOF' via Ansible Project wrote: > > > > parted package is available. You probably are doing something wrong > > A "dnf update" and "dnf install par

Re: [ansible-project] lvol module - depency problem parted/gparted

2021-10-12 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-10-12 12:25, dulhaver via Ansible Project a écrit : I have a task to resize a logical volume on a rhel8 target with the lvol module. 1. I get prompted 'Failed to find required executable parted' 2. trying to install it with dnf module tells me 'parted does not exist' 3. trying

Re: [ansible-project] Custom facts written using resource module builder

2021-09-05 Thread 'Jean-Yves LENHOF' via Ansible Project
Show us the code and different results when it works and when it don't Regards, Le 05/09/2021 à 11:15, nitesh shet a écrit : Hi, I had written a custom facts for NTP server but it is acting weirdly everytime i run the facts module using playbook , sometimes values will come and sometimes

Re: [ansible-project] Permission Denied error

2021-09-03 Thread 'Jean-Yves LENHOF' via Ansible Project
Hi, Look at your /etc/ansible.cfg $HOME/.ansible.cfg in your home or your inventories files, you probably surcharge ansible_ssh_common_args somewhere ! Regards, Le 03/09/2021 à 16:43, aman kumar chagti a écrit : I'm manually able to log in to target VM by password...but no thru

Re: [ansible-project] Permission Denied error

2021-09-02 Thread 'Jean-Yves LENHOF' via Ansible Project
The ssh test you made is using the ansible controller server ? Are you sure you are using the good ansible user on the target host ? (-u parameter for ansible-playbook) Regards, JY Le 02/09/2021 à 14:48, aman kumar chagti a écrit : yes, sshpass is inistalled On Thursday, September 2,

Re: [ansible-project] Permission Denied error

2021-09-02 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 02/09/2021 à 14:53, aman kumar chagti a écrit : @jyle if sshpass needs to be installed on target VM as well?? Nope, only on server side Regards, JYL -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group

Re: [ansible-project] Permission Denied error

2021-09-02 Thread 'Jean-Yves LENHOF' via Ansible Project
If you want password authentication, you need sshpass on your ansible controller server. Did you install it ? Regards, JYL Le 02/09/2021 à 13:55, aman kumar chagti a écrit : when I try to run the playbook on a remote VM using password-based  authentication, I'm getting the following error:

Re: [ansible-project] Winrm configuration issue

2021-07-22 Thread 'Jean-Yves LENHOF' via Ansible Project
Hi, Is the account local and your GPO (seems that there are some) does'nt allow to log in with this account remotely ? Regards, JYL Le 22/07/2021 à 12:09, Thanh Nguyen Duc a écrit : Hi I have tried to reset password, telnet to client. All ok. Even tried to use the service account to

[ansible-project] Re: Install a french version of SQLServer on an english windows server with ansible

2021-06-26 Thread 'Jean-Yves LENHOF' via Ansible Project
Le 2021-06-24 19:08, Jean-Yves LENHOF a écrit : Hi, I try to silently install a french version of SQLServer (this is not my idea, it's become this is the licensed version we have) with ansible using some code like this (I already installed MUI French lang pack via ansible) : - name:

[ansible-project] Install a french version of SQLServer on an english windows server with ansible

2021-06-24 Thread 'Jean-Yves LENHOF' via Ansible Project
Hi, I try to silently install a french version of SQLServer (this is not my idea, it's become this is the licensed version we have) with ansible using some code like this (I already installed MUI French lang pack via ansible) : - name: "Change LANG" win_shell: |