Re: [ansible-project] Re: How to find Virtual or Physical?

2021-08-24 Thread Somasundaram R
Thank you all. On Tuesday, 24 August 2021 at 21:44:27 UTC+5:30 oskaralm...@mullvad.net wrote: > Another Idea could be to include a local fact in the image that you base > your virtual machines on. Or put it there in an earlier stage after the > machine has been provisioned. > See this link:

[ansible-project] Re: How to find Virtual or Physical?

2021-08-24 Thread Somasundaram R
Hi, My scenario is also same. Thanks. On Tuesday, 24 August 2021 at 21:08:12 UTC+5:30 rjr...@gmail.com wrote: > I required to do that ìn the past and the best way I found was to access > the kernel information: > > *shell: 'dmesg | grep "Hypervisor detected"'* > > I had to identify

[ansible-project] How to find Virtual or Physical?

2021-08-24 Thread Somasundaram R
Hi everyone, Please help me to find host is virtual or physical from ansible facts. Thanks. Is it possible to get the details from "ansible_virtualization_type". Or is there any better idea. Thanks in advance -- You received this message because you are subscribed to the Google Groups

[ansible-project] winrm error

2021-04-28 Thread Somasundaram R
I am trying to access windows host from ansible. In my virtual environment, "pip list" command shows these packages installed *winrm* *pywinrm* *xmltodict* *...etc...* when I play, playbook or adhoc command it shows error like as follows: *FAILED! => {"msg": "winrm or requests is not installed:

[ansible-project] Collecting unreachable hosts list

2021-04-05 Thread Somasundaram R
In my playbook, I have included a role in my first play to generate a report from template. And in my second play, updating same report. When I keep both play in different file and run, both updating the file. But if both play are in same playbook, first play working fine. second play does not

[ansible-project] Collecting unreachable hosts

2021-04-05 Thread Somasundaram R
In my playbook, I have included a role in my first play to generate a report from template. And in my second play, updating same report. When I keep both play in different file and run, both updating the file. But if both play are in same playbook, first play working fine. second play does not

Re: [ansible-project] Help to do MSI automation

2021-03-27 Thread Somasundaram R
;https://aka.ms/o0ukef> > -- > *From:* ansible...@googlegroups.com on > behalf of Somasundaram R > *Sent:* Saturday, March 27, 2021 5:10:26 PM > *To:* Ansible Project > *Subject:* [ansible-project] Help to do MSI automation > > Hi, > I am newbie to wi

Re: [ansible-project] Help to do MSI automation

2021-03-27 Thread Somasundaram R
at 21:30, Wei-Yen Tan wrote: > Can yoy define by what you mean by public properties? > > Get Outlook for iOS <https://aka.ms/o0ukef> > -- > *From:* ansible-project@googlegroups.com > on behalf of Somasundaram R > *Sent:* Saturday, March 27,

[ansible-project] Help to do MSI automation

2021-03-26 Thread Somasundaram R
Hi, I am newbie to windows automation. I am planning to do MSI automation through win_package. But how to retrieve public properties of MSI file. I am planning to collect public properties of MSI packages by installing in any DEV server to get my inputs. So that I can use those values as

[ansible-project] Re: facts to txt file

2021-03-26 Thread Somasundaram R
use ansible-cmdb. https://ansible-cmdb.readthedocs.io/en/latest/#:~:text=Ansible%2Dcmdb%20takes%20the%20output,by%20Ansible%20with%20custom%20data. On Friday, 26 March 2021 at 21:01:48 UTC+5:30 mrcx...@gmail.com wrote: > Hi all > > Is there a way to store facts like (mem,CPU,HD etc ) to a txt

Re: [ansible-project] Ansible writing to a file

2021-03-10 Thread Somasundaram R
Have you included *become_method: sudo* ? On Wednesday, 10 March 2021 at 04:58:09 UTC+5:30 Chris Bidwell wrote: > Thanks for the update, however, it looks like it's not using the sudoer > I'm wanting it to use. I have become: yes up top which I would think would > run as the sudoer user I'm