Re: [ansible-project] Batch size (serial) and playbook failing

2021-06-19 Thread Go Away
Hmm. Would be great if the docs said so ;-) But how to circumvent it? I can try using random order in order to reduce the probability of the same hosts failing every time but is there any other way? pt., 18 cze 2021, 16:56 użytkownik Brian Coca napisał: > This is by design, if all hosts in a ba

Re: [ansible-project] Batch size (serial) and playbook failing

2021-06-19 Thread Wei-Yen Tan
You could do a group of the hosts that you are able to connect to and exclude the rest. There are also certain Notations in the hosts and limit you can use to exclude the non connevtable hosts Get Outlook for iOS From: ansible-project@googl

Re: [ansible-project] Batch size (serial) and playbook failing

2021-06-19 Thread Wei-Yen Tan
https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html Get Outlook for iOS From: Wei-Yen Tan Sent: Saturday, June 19, 2021 10:11:46 PM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] Batch size (serial) a

Re: [ansible-project] Failed to create temporary directory

2021-06-19 Thread Dick Visser
Can you wipe and reinstall the Debian system? On Sat, 19 Jun 2021 at 00:04, Antony Stone < antony.st...@ansible.open.source.it> wrote: > On Friday 18 June 2021 at 23:57:57, nitesh shet wrote: > > > /var/log$ ls > > alarm.log > > apps.log.4.gz > > dpkg.log > > lastlog > > private > > sysstat > >

[ansible-project] failing to run playbook

2021-06-19 Thread nitesh shet
Hi experts, I am running below playbook :- --- - name: "run show version" hosts: servers gather_facts: False tasks: - name: "cli command" ansible.netcommon.cli_command: command: "show chassis-1" on my centos server with inventory entries is like:- [servers] 172.16.12.215 [s

Re: [ansible-project] Failed to create temporary directory

2021-06-19 Thread nitesh shet
I have made changes in inventory file like added network_cli as connection type and now the ping is working fine On Sat, Jun 19, 2021 at 5:59 PM Dick Visser wrote: > Can you wipe and reinstall the Debian system? > > > On Sat, 19 Jun 2021 at 00:04, Antony Stone < > antony.st...@ansible.open.sourc

[ansible-project] How to execute commands on a VM running on a remote host?

2021-06-19 Thread pan...@hotmail.de
Hello Guys, I have Ansible installed on a jumphost. From the jumphost I can reach several servers (with different IPs), each running a virtual machine (that VM has the same IP on each server). I need to read the information of a certain file that is located on the virtual machines (not on the s

Re: [ansible-project] How to execute commands on a VM running on a remote host?

2021-06-19 Thread Dick Visser
https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-configure-a-jump-host-to-access-servers-that-i-have-no-direct-access-to >From your story it seems that what you call jumphost is the ansible controller and each server is a jumphost. On Sat, 19 Jun 2021 at 19:30, pan

Re: [ansible-project] failing to run playbook

2021-06-19 Thread Dick Visser
You are mixing up several things. Start with the example from https://docs.ansible.com/ansible/latest/network/user_guide/platform_ios.html#example-cli-group-vars-ios-yml On Sat, 19 Jun 2021 at 18:07, nitesh shet wrote: > Hi experts, > I am running below playbook :- > --- > - name: "run show v

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-19 Thread subrat mangaraj
Hello Experts, Can you plz guide. Br// Subrat On Fri, 18 Jun 2021, 20:14 subrat mangaraj, wrote: > Hell Experts, > Can anyone check and guide me? > > Br// > Subrat > > On Thu, Jun 17, 2021 at 5:57 AM subrat mangaraj > wrote: > >> Hi Phil, >> Same i did but getting ssh banner error. >> Ansible.c