[ansible-project] Stop/Start SAP service via ansible

2023-01-23 Thread kumare...@gmail.com
Hi, Could someone help here to stop/start sap services via ansible? Regards Kumar -- 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..

[ansible-project] Need help in appending multiple values in excel cell - ansible

2022-12-28 Thread kumare...@gmail.com
Hi All, We are registering output of some commands and need to store output in excel format.The challenge is to append multiple values in excel cell.Could someone help here? Regards Kumar -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Appending multiple values to same cell in csv ansible

2021-09-24 Thread kumare...@gmail.com
Hi All, I am trying to append multiple values in same cell csv but not getting through.Could someone help here? *Current output:* Hostname Disk Info testserver sdd: 1.00 Gbsde: 1.00 Gb *Expected output:* Hostname Disk Info testserversdd: 1.00 Gb

[ansible-project] inventory export to csv format from ansible tower

2021-03-12 Thread kumare...@gmail.com
Hi All, I am looking for way to export inventory and some hostvars(gathered as part of dynamic inventory) from ansible tower to csv format.Could someone help here? Regards Kumar -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscri

[ansible-project] Adding existing host to different inventory shows duplicates

2021-03-12 Thread kumare...@gmail.com
Hi All, I am trying to add existing host into different inventory shows duplicates in ansible tower.Does the host can't be in two different inventory? Call to /api/v2/hosts/. GET returned: 400 duplicate key value violates unique constraint "main_activitystream_host_pkey" DETAIL: Key (id)=(183)

[ansible-project] Need help in adding ssh_port dynamically

2021-03-12 Thread kumare...@gmail.com
Hi All, The dynamic inventory has been implemented with servicenow collections however few servers we are using custom ssh_port rest all servers uses default port 22.Since it's dynamic inventory is there way to add ssh_port dynamically. Regards Kumar -- You received this message because you

Re: [ansible-project] Server build post tasks with ansible

2020-10-12 Thread kumare...@gmail.com
ery > > On Sat, 19 Sep 2020, 16:17 kumare...@gmail.com, > wrote: > >> Hi Experts, >> >> We are planning to automate server commissioning posts tasks through >> ansible.Is there way the ansible playbook can be triggered as soon as the >> OS provisioned? >

Re: [ansible-project] Ansible set_fact with with_items always prints last item

2020-09-20 Thread kumare...@gmail.com
] *** ok: [test] => { "msg": "httpd.service Running\nntpd.service Running\n" } Expected output: httpd.service Running ntpd.service Running Regards Kumar On Saturday, 19 September 2020 at 19:28:58 UTC+5:30 brae...@gmail.com wrote: > On 9/19/20 12:

[ansible-project] firmware gathering - ansible prints last value

2020-09-19 Thread kumare...@gmail.com
Hi Experts, I am using below playbook to gather firmware from dell servers it works well but the problem is when same component shows twice or more with different value it just print last value.My requirement to print first value in the loop to get exact current firmware. Playbook: tasks:

[ansible-project] Server build post tasks with ansible

2020-09-19 Thread kumare...@gmail.com
Hi Experts, We are planning to automate server commissioning posts tasks through ansible.Is there way the ansible playbook can be triggered as soon as the OS provisioned? The requirement for both azure cloud and on-premises VM provisioning. Regards Kumar -- You received this message because

[ansible-project] Extreme network switch backup - ansible issue

2020-09-19 Thread kumare...@gmail.com
Hi Experts, We are planning to automate extreme network switch backup through ansible facing issues with few hosts.The playbook works for few hosts and shows below errors for remaining hosts. Is something need to be checked from network switch for below error? An exception occurred during task

[ansible-project] azure dynamic inventory - store static file

2020-09-19 Thread kumare...@gmail.com
Hi Experts, I have ansible setup that pulls inventory dynamically using below playbook from azure.We have an requirement to store these hosts in static file for other requirement.Could you someone help here? ansible all -m ping -i myazure_rm.yml --list bash-4.4# cat myazure_rm.yml plugin: azu

[ansible-project] Ansible set_fact with with_items always prints last item

2020-09-19 Thread kumare...@gmail.com
Hi Experts, I am looking to capture certain service status using ansible the problem is debug prints only last item.Below is the expected output. Hostname : test httpd --> Running ntpd --> Running Below are the playbook. --- - hosts: test become: true gather_facts: false tasks: - n