Re: [ansible-project] Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found

2020-10-22 Thread Stefan Hornburg (Racke)
On 10/23/20 8:53 AM, Prabhakaran Karuppaih wrote: > Expected Output: > > |+---+ | Connected! | | sql-statement | | > help [tablename] | | quit | > +---+| > Your problem is not related to Ansible at all, please contact a

Re: [ansible-project] Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found

2020-10-22 Thread Prabhakaran Karuppaih
Expected Output: +---+ | Connected! | | sql-statement | | help [tablename] | | quit | +---+ On Fri, 23 Oct 2020 at 07:35, Prabhakaran Karuppaih < arrow.prabhaka...@gmail.com> wrote: > command: > > $ echo "select 1" | isql

Re: [ansible-project] mssql-tools breaks yum update

2020-10-22 Thread Stefan Hornburg (Racke)
On 10/22/20 8:02 PM, Jeremy Van Veelen wrote: > I have a patching playbook that works fine if the yum package installation > doesn't require any prompts, as per rpm best > practices.  Well when I ran my patching playbook to update my OS I discovered > that mssql-tools upon rpm >

[ansible-project] Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found

2020-10-22 Thread Prabhakaran Karuppaih
command: $ echo "select 1" | isql -v asterisk asterisk password Error: [01000][unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmyodbc5.so' : file not found [ISQL]ERROR: Could not SQLConnect odbcinst.ini: [PostgreSQL] Description=ODBC for PostgreSQL Driver=/usr/lib/psqlodbcw.so

[ansible-project] Ansible: need help uninstalling Windows software via playbook

2020-10-22 Thread Gerry Maddock
Hello, I would greatly appreciate any help/input to help me get this playbook working. I have been trying with win_package (win_package states the program is uninstalled, but its not). I have even tried powershell via win_shell. I think I'm really close to resolving this issue, but would love

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Phil Griffiths
Check file permissions? Also try ansible-doc -l | grep aruba to see if it can find those modules On Thu, 22 Oct 2020 at 18:10, Fiend Busa wrote: > Hey, > > Mine are all under: ~/.ansible/collections/ansible_collections > > ls -all in this directory gives me > > ansible > arubanetworks >

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Phil Griffiths
I suggest you update ansible so you get support for list. It also has a verify option now as well so you’ll find it useful in these situations. On Thu, 22 Oct 2020 at 18:09, Fiend Busa wrote: > ansible-galaxy collection list doesn't work. No such argument list > On Thursday, October 22, 2020 at

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
Hey, Mine are all under: ~/.ansible/collections/ansible_collections ls -all in this directory gives me ansible arubanetworks check_point cisco community fortinet On Thursday, October 22, 2020 at 10:52:22 AM UTC-4 phil.gr...@gmail.com wrote: > what does 'ansible-galaxy collection list'

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
ansible-galaxy collection list doesn't work. No such argument list On Thursday, October 22, 2020 at 10:52:22 AM UTC-4 phil.gr...@gmail.com wrote: > what does 'ansible-galaxy collection list' output? mine are under > ~/.ansible/collections/ansible_collections > what ansible version you on? > >

[ansible-project] mssql-tools breaks yum update

2020-10-22 Thread Jeremy Van Veelen
I have a patching playbook that works fine if the yum package installation doesn't require any prompts, as per rpm best practices. Well when I ran my patching playbook to update my OS I discovered that mssql-tools upon rpm post-installation prompts to accept the license terms and get the

Re: [ansible-project] Conditionally input to a playbook based on vars_prompt

2020-10-22 Thread Sobhan Anavarapu
Thank you @Vladimir provided solution worked for me. But do we have an option to pass both commands with a single option input like: D: freespace -m yum repolist On Thursday, October 22, 2020 at 5:29:06 PM UTC+5:30 vbo...@gmail.com wrote: > On Thu, 22 Oct 2020 04:16:28 -0700 (PDT) >

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Phil Griffiths
what does 'ansible-galaxy collection list' output? mine are under ~/.ansible/collections/ansible_collections what ansible version you on? I'm not convinced that collection is complete as some of those modules don't have docs that render for me using ansible-doc On Thu, 22 Oct 2020 at 15:10,

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
I can see ~./.ansible/collections/arubanetworks/aos_switch/plugins/modules/arubaoss_command.py On Thursday, October 22, 2020 at 9:48:23 AM UTC-4 Fiend Busa wrote: > Hey, > > So all the collections are being installed in ~/.*ansible*/*collections*/ > > ansible CFG is located in /etc/ansible.cfg

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
Hey, So all the collections are being installed in ~/.*ansible*/*collections*/ ansible CFG is located in /etc/ansible.cfg I have other collections as well (cisco.asa) it's only the aruba one that is giving this error. I installed the collection directly on the ubuntu server and can see it

[ansible-project] Ansible-ServiceNow integration

2020-10-22 Thread zaldy...@gmail.com
Hi Experts. My setup is this: I have lists of playbooks for network devices (like traceroute, ping, etc). our ansible is not the source of incident to create ticket (we have other management system for that). if there is an incident, it will push to our servicenow. I want to know: 1. can

Re: [ansible-project] Conditionally input to a playbook based on vars_prompt

2020-10-22 Thread Vladimir Botka
On Thu, 22 Oct 2020 04:16:28 -0700 (PDT) Sobhan Anavarapu wrote: > ... value_command is the module, do we need to add the vars in the > module ? > > vars: > command_set: > A: ipaddr > B: ifconfig > C: freespace -m > D: yum repolist It's up to you where you put the variables. Yes, module is

Re: [ansible-project] Conditionally input to a playbook based on vars_prompt

2020-10-22 Thread Sobhan Anavarapu
Thank you @Vladimir for the solution. I will test this and share you the update. value_command is the module, do we need to add the vars in the module ? vars: command_set: A: ipaddr B: ifconfig C: freespace -m D: yum repolist vars_prompt: - name: input prompt: Please enter the option {{

Re: [ansible-project] Ansible windows unzip module is failing, how to fix that?

2020-10-22 Thread Rahul Puli
Try to update the below one in your inventory file and try to execute ansible_winrm_server_cert_validation=ignore or Update the pywinrm and check again. On Sat, Oct 17, 2020 at 12:53 AM uday kiran wrote: > My task part of playbook. > - name: unzip maven > win_unzip: > src:

Re: [ansible-project] Conditionally input to a playbook based on vars_prompt

2020-10-22 Thread Vladimir Botka
On Thu, 22 Oct 2020 02:45:43 -0700 (PDT) Sobhan Anavarapu wrote: > can we have multiple when conditions in a single task? > > vars_prompt: > - name: input >prompt: Please enter the option A,B,C >private: no > - name: checking the switchshow >value_command: >command_set:

Re: [ansible-project] vmware_guest - Failed to set static IP - VCenter 6.5

2020-10-22 Thread Saketha Vamshi d
I didn't find an option to attach the image. So., let me type it here what I see on my vSphere client. -- VMware Tools: Running(Guest managed) IP Addresses: DNS Name: localhost.localdomain EVC

Re: [ansible-project] Conditionally input to a playbook based on vars_prompt

2020-10-22 Thread Sobhan Anavarapu
can we have multiple when conditions in a single task? vars_prompt: - name: input prompt: Please enter the option A,B,C private: no - name: checking the switchshow value_command: command_set: - command: ipaddr - command: ifconfig - command: freespace -m -

Re: [ansible-project] vmware_guest - Failed to set static IP - VCenter 6.5

2020-10-22 Thread Abhijeet Kasurde
The image is not visible. Could you please use some other image hosting service. On Thursday, October 22, 2020 at 1:59:20 PM UTC+5:30 saket...@gmail.com wrote: > Hi Abhijeet, > > I'm using "Centos-7 64bit" Operating system for deploying a new VM. And > VCenter 6.5 version, ansible - 2.9.13.

Re: [ansible-project] Conditionally input to a playbook based on vars_prompt

2020-10-22 Thread Rahul Puli
Yes, this can be achievable. You can use when condition. On Thu, Oct 22, 2020 at 11:59 AM Sobhan Anavarapu < sobhan.anavar...@gmail.com> wrote: > I have a question, with optional input of A or B in vars_prompt can the > command be executed in a playbook task. > > example > - name: checking the

Re: [ansible-project] vmware_guest - Failed to set static IP - VCenter 6.5

2020-10-22 Thread Saketha Vamshi d
Hi Abhijeet, I'm using "Centos-7 64bit" Operating system for deploying a new VM. And VCenter 6.5 version, ansible - 2.9.13. Regarding vmware_tools., I see the below thing from vSphere client after I deploy a new VM. And, you can also observe here that, it is not showing up any IP address

Re: [ansible-project] Re: Urgent help required on vmware_guest_network

2020-10-22 Thread Gajendra Gaikwad
Hello Abhi, Thanks for your reply. I will raise the ticket. Also I have checked your old post but not found anything. On Thu, 22 Oct 2020, 09:47 Abhijeet Kasurde, wrote: > Hi Gajendra, > > Please file an issue against > https://github.com/ansible-collections/community.vmware/issues with >

[ansible-project] Conditionally input to a playbook based on vars_prompt

2020-10-22 Thread Sobhan Anavarapu
I have a question, with optional input of A or B in vars_prompt can the command be executed in a playbook task. example - name: checking the switchshow value_command: command_set: - command: switchdisable - command: switchshow Like with vars_prompt if we select A 1st command need