[ansible-project] Re: Ansible automation for SAP - Issue and Best practices

2020-10-28 Thread Pratheek P
Any updates on this please? Best Regards, Pratheek. P On Monday, October 26, 2020 at 12:08:08 PM UTC+5:30 Pratheek P wrote: > Dear Ansible community, > > I want to try out Ansible automation for SAP where we automate SAP > start/stop, Oracle DB start/stop processes. I'm able to achieve this by

Re: [ansible-project] Re: Ansible automation for SAP - Issue and Best practices

2020-10-28 Thread Dick Visser
https://docs.ansible.com/ansible/latest/user_guide/playbooks_environment.html On Wed, 28 Oct 2020 at 09:53, Pratheek P wrote: > > Any updates on this please? > > Best Regards, > Pratheek. P > > On Monday, October 26, 2020 at 12:08:08 PM UTC+5:30 Pratheek P wrote: >> >> Dear Ansible community, >>

Re: [ansible-project] template error: Encountered unknown tag 'Y'

2020-10-28 Thread Dick Visser
On Tue, 27 Oct 2020 at 21:47, Roy Lenferink wrote: > > > > Op dinsdag 27 oktober 2020 om 20:01:15 UTC+1 schreef dick@geant.org: >> >> By the var name I guess you're using the jeff geerling's apache role? >> I use that too and also ran into this issue. >> You need to escape the jinja looking

Re: [ansible-project] inventory host problem

2020-10-28 Thread desmond humes
"groups is not inside {{ ... }}, so it isn't evaluated at all. Also you cannot nest the curly braces." Oh ok, I understand I try this {{ groups[ var1 + '_' var2 + '_prod' ][0] }}", and it's work perfectly, realy thank you for your help to an ansible newbie dev :-) Best regards Le mardi

Re: [ansible-project] Test on ansible facts sda size

2020-10-28 Thread Bill Price
Thanks, That works great On Tue, Oct 27, 2020 at 4:18 PM Dick Visser wrote: > On Tue, 27 Oct 2020 at 20:47, billpric...@gmail.com > wrote: > > > > Can someone point me in the right direction > > > > ansible_devices['sda']['size'] returns "X GB" > > > > How can I use a when statement to perform

[ansible-project] Pinging Windows Host Now Returns Unexpected Error

2020-10-28 Thread dwiz
Hello, I am testing connection to my windows host. My host file is set up as below. [windows] X.X.X.X [windows:vars] ansible_user= ansible_password= ansible_connection=winrm ansible_port=5985 I was able to connect to the host fine before but now when testing with, 'ansible windows -m

[ansible-project] Re: Pinging Windows Host Now Returns Unexpected Error

2020-10-28 Thread dwiz
This is verbose output: ansible 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/ansible/.local/lib/python3.6/site-packages/ansible

[ansible-project] Re: Pinging Windows Host Now Returns Unexpected Error

2020-10-28 Thread jbor...@gmail.com
You need to use win_ping and not ping. It's trying to run Python code in a PowerShell engine which fails. On Thursday, October 29, 2020 at 11:50:28 AM UTC+10 dwiz wrote: > This is verbose output: > > ansible 2.9.11 > config file = /etc/ansible/ansible.cfg > configured module search path =

[ansible-project] Open Source .net App for Ansible

2020-10-28 Thread Gavin Landon
I’ve started an open source .net app using SSH.net with Ansible installation for CentOS. Could use some help as its pretty basic at the moment. Comes with ansible demo code. As an Ansible developer I needed something I can quickly edit files and process with source control.

Re: [ansible-project] Advice on build Immutable VM's ( VMware )

2020-10-28 Thread Dan Linder
On Tuesday, October 27, 2020 at 2:41:06 AM UTC-5 SP wrote: > An immutable vm in which servers are never modified after they’re > deployed. If something needs to be updated, fixed, or modified in any way, > new servers built from a common image with the appropriate changes are > provisioned to

[ansible-project] cisco ios_config

2020-10-28 Thread William Dossett
Hi, I am trying to get some experience using the cisco ios_config module. I want to get a diff between the running config and a master config. playbook snippet is: tasks: - name: Check running config against master config ios_config: diff_against: intended intended_config: "{{ lookup('file',