[ansible-project] Re: Ansible raw module ASA

2021-05-11 Thread Sumit Jaiswal
Hi, Is there any specific requirement for using Ansible raw modules instead of available Ansible ASA collections modules which are specifically built for Cisco ASA and you can use any of the available ASA modules to configure your Cisco ASA device. For getting the show version to run over your

Re: [ansible-project] Ansible raw module ASA

2021-05-11 Thread Nilashish Chakraborty
I am not sure why we need the raw module for this task. There is a cisco.asa Ansible Collection that specifically caters to managing ASA appliances. Have you tried any of the modules in there? -- Nilashish Chakraborty Senior Software Engineer, Ansible Red Hat

Re: [ansible-project] Ansible for Windows

2021-05-11 Thread pradnya waghmare
hi, pls tell me what steps u hv followd for ansible for window .I am looking. thanks in advance. On Wed, 12 May, 2021, 2:47 am Gabriel Viegas, wrote: > I am completely new to Asnible, can anyone help me how to remove these > errors? I can ping a Windows machine, but these errors always appear b

Re: [ansible-project] Ansible for Windows

2021-05-11 Thread Dick Visser
Errors are meant to tell you something is wrong. Removing them involves at least reading them, to understand what is wrong. Try doing that. Hint: the '54' means line 54. On Tue, 11 May 2021 at 23:17, Gabriel Viegas wrote: > I am completely new to Asnible, can anyone help me how to remove these >

Re: [ansible-project] Can i install ansible as a non root user?

2021-05-11 Thread Komail Kanjee
See https://pip.pypa.io/en/stable/cli/pip_download/ Use the --dest to place all the downloaded files into a specific directory. On Tue, May 11, 2021 at 5:10 PM Smahane wrote: > Can i fetch all the dependencies on a machine with internet access , and > copy them to the machine for installation?

[ansible-project] Ansible-3.4.0 released

2021-05-11 Thread Toshio Kuratomi
Hi all, We're happy to announce that the ansible-3.4.0 package has been released! The update contains bugfixes and new, backwards compatible features in the contained collections. If you would like to learn about how and why we got to version 3.0.0, we invite you to visit our blog for the backgro

[ansible-project] Ansible for Windows

2021-05-11 Thread Gabriel Viegas
I am completely new to Asnible, can anyone help me how to remove these errors? I can ping a Windows machine, but these errors always appear before. [image: ansible-1.png] -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from t

Re: [ansible-project] Can i install ansible as a non root user?

2021-05-11 Thread Smahane
Can i fetch all the dependencies on a machine with internet access , and copy them to the machine for installation? If so, how please? Thank you, On Tuesday, May 11, 2021 at 1:27:44 PM UTC-7 rjr...@gmail.com wrote: > There are some non-oficial ansible portable distributions. I used these in

Re: [ansible-project] Can i install ansible as a non root user?

2021-05-11 Thread Roberto Paz
There are some non-oficial ansible portable distributions. I used these in very specific scenarios and I found them useful. This is the one I used a few times: https://github.com/ownport/portable-ansible El martes, 11 de mayo de 2021 a la(s) 12:53:12 UTC-5, dick@geant.org escribió: > You

[ansible-project] Ansible read excel sheet to build inventory

2021-05-11 Thread Abhishek Agawane
Hi All, Is there any way that i can import a list of hosts from an excel spreadsheet into ansible inventory so i can connect to each host via ansible and perform operations? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

[ansible-project] Ansible-4.0.0rc1

2021-05-11 Thread Toshio Kuratomi
Hi all, We're happy to announce that the Ansible-4.0.0 release candidate 1 package is now available! This update is based on the Ansible-core-2.11.x package which is a major update from the Ansible 3 package (Ansible 3 was based on Ansible-base-2.10.x). There may be backwards incompatibilities in

[ansible-project] Re: temporary file "AnsiballZ_setup.py" having syntax error #49757

2021-05-11 Thread jbor...@gmail.com
Your Python version is too old, the managed node requires Python 2.7 or 3.5 or newer https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#managed-node-requirements. On Wednesday, May 12, 2021 at 4:54:54 AM UTC+10 riz...@gmail.com wrote: > Having the same issue as:

[ansible-project] temporary file "AnsiballZ_setup.py" having syntax error #49757

2021-05-11 Thread Rizwan Khan
Having the same issue as: https://github.com/ansible/ansible/issues/49757 Python version is 3.2.3 on Freebsd9. Python 3.2.3 (default, Aug 30 2012, 13:58:20) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd9 -- You received this message because you are subscribed to the Google Groups "Ansible Project

Re: [ansible-project] Can i install ansible as a non root user?

2021-05-11 Thread Dick Visser
You need to fetch all the dependencies On Tue, 11 May 2021 at 19:36, Smahane wrote: > Hello, > > I was able to copy the artifacts but i got an error during the > installation. Any idea what it meant please? > > Thank you, > > > $ pip3 install --user ansible-3.3.0.tar.gz > *Processing ./ansible-3

Re: [ansible-project] Can i install ansible as a non root user?

2021-05-11 Thread Smahane
Hello, I was able to copy the artifacts but i got an error during the installation. Any idea what it meant please? Thank you, $ pip3 install --user ansible-3.3.0.tar.gz *Processing ./ansible-3.3.0.tar.gz* *Collecting ansible-base<2.11,>=2.10.8 (from ansible==3.3.0)* * Retrying (Retry(total=4,

Re: [ansible-project] 'ansible_system_vendor' is undefined

2021-05-11 Thread cl...@netsandbox.de
I just created the following test with a faked lsblk command, because this is called in https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts/hardware/linux.py#L400 * created a /usr/local/bin/lsblk bash script with "sleep 10" * check that my faked lsblk command is used: wh

Re: [ansible-project] 'ansible_system_vendor' is undefined

2021-05-11 Thread Brian Coca
2.3.3 didn't do timeouts correctly, that might be the reason you are seeing this now, but you should also get a warning about it. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and s

Re: [ansible-project] 'ansible_system_vendor' is undefined

2021-05-11 Thread cl...@netsandbox.de
As stated before we gather facts as root user, so we have access to /sys/devices/virtual/dmi/id/{product_name,sys_vendor}. Also dmidecode is installed, but is not used because before mentioned paths are accessible. Also this happens only from time to time on one or two of our hosts (we have 130

[ansible-project] Ansible raw module ASA

2021-05-11 Thread A. J. Nemeth
Good Morning, I have been trying for months to get Ansible raw module and playbooks to work with Cisco ASAs. Finally after burning down my Ansible platforms and building new linux platforms I made some progress. I had to rebuild everything several times as it gets trashed with all the chang

Re: [ansible-project] 'ansible_system_vendor' is undefined

2021-05-11 Thread Brian Coca
from the code, you don't have access to stat /sys/devices/virtual/dmi/id/product_name (or if you do, you cannot access /sys/devices/virtual/dmi/id/sys_vendor) and executing dmidecode it does not provide this info (not installed, lack of permissions, etc). -- -- Brian Coca -- You receive

Re: [ansible-project] Failed to load inventory plugin, skipping yml

2021-05-11 Thread Suneel Hegde
There was a mistake in the host file insted of using = i used : that is the reason it was giving the error thank you everyone for your response On Tue, May 11, 2021 at 9:38 AM Komal Suthar wrote: > Have you created the inventory file and also give the location of the > inventory file in the ansi

Re: [ansible-project] 'ansible_system_vendor' is undefined

2021-05-11 Thread cl...@netsandbox.de
That is the point, I'm getting "undefined". So I'm looking for someone who have an idea why I get here "undefined". This happens only sometimes when ansible-playbook is run in one of our Jenkins pipelines. When I try to reproduce this with the ansible-playbook run from my workstation, no facts a