I am doing this with Cisco. If you understood what you are doing, it is
quite simple.
Use the netbox inventory pluging. Be sure to gather the interface
information (interfaces: true).
Then use the arista.eos.eos_interfaces module and loop over all interfaces.
(or arista.eos.eos_l2_interfaces).
Pl
Yes. But I don't remember how
maulik patel schrieb am Do., 21. Juli 2022,
13:09:
> did you get it resolved ?
>
> On Thursday, July 2, 2020 at 12:30:54 AM UTC+5:30 heinz6...@gmail.com
> wrote:
>
>> Hi,
>>
>> I am quite desparate already. I want to use the netbox_interface module
>> in ansible, bu
hi,
i started to write a universal ios upgrade playbook. The meta playbook
includes the playbooks for the specific model upgrades. Sorry for the
lengthy post. But when I find some time I will write a better blog article.
Please feel free to ask me again if you have a question regarding this
playb
Am Sonntag, 23. Februar 2020 11:28:45 UTC+1 schrieb Kai Stian Olstad:
>
> On Sun, Feb 23, 2020 at 02:10:32AM -0800, Heinz Meier wrote:
> > need to wait until a host is up and running. This host does not (yet)
> offer
> > ssh, so I need a simple ping. The module wait
Hi,
need to wait until a host is up and running. This host does not (yet) offer
ssh, so I need a simple ping. The module wait_for only offers port tests,
as far as I can see. Any ideas?
Michael Schwartzkopff
--
You received this message because you are subscribed to the Google Groups
"Ansibl
Am Freitag, 14. Februar 2020 11:25:48 UTC+1 schrieb Stefan Hornburg (Racke):
>
> On 2/14/20 11:19 AM, Heinz Meier wrote:
> > Hi,
> >
> > I want to execute a task on my minions. The problem is, that there are
> different tasks depending on facts of the
> > d
Hi,
I want to execute a task on my minions. The problem is, that there are
different tasks depending on facts of the devices. How can ansible deal
with it?
Basically I want to upgrade the operating system on Cisco network
components. Different network models (fact: ansible_net_model) have
dif
y'
vars:
ansible_command_timeout: 180
Am Di., 4. Feb. 2020 um 16:27 Uhr schrieb Heinz Meier <
heinz6.mei...@gmail.com>:
> Still the same problem (timeout). I copied the string direct from the
> switch. Any idea how to debug this in deep?
>
>
> The full traceback is:
> File
gex hence either handle special
> character in prompt correctly by using escape character or remove those
> characters from prompt completely.
> For example:
>
> - name: remove old OS files
> ios_command:
> commands:
> - command: install remove inactive
>
"ssh_keyfile": null,
"timeout": null,
"username": null,
"wait_for": null
}
},
"msg": "command timeout triggered, timeout value is 180 secs.\nSee the
timeout setting options in the Network Debug and
Hi,
I have a problem with the ios_command and the C9200L switch when updating
the IOS-XE. One step of the upgrade is
On step is to remove inactive IOS versions:
#install remove inactive
(...)
Do you want to remove the above files? [y/n]
the part of the playbook looks like:
---
- hosts: cisco
bug report opened in github.
--
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...@googlegroups.com.
To view this discussion on the web
The playbook
- hosts: ...
tasks:
- name: Delete all VLANs
ios_vlan:
vlan_id: 100
state: absent
works smooth.
--
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
fresh installation via pip3 on a CentOS8.
$ ansible --version
ansible 2.9.0
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/misch/.ansible/plugins/modules',
'/usr/share/ansible/plugins/modules']
ansible python module location =
/usr/local/lib/python3.6/site-p
Hi,
I have a simple playbook:
- name: Delete all VLANs
ios_vlans:
state: deleted
when I run it, it throws an error:
The full traceback is:
Traceback (most recent call last):
File
"/home/misch/.ansible/tmp/ansible-local-10481lkaxtjzi/ansible-tmp-1573036107.9861128-169243767125207/
15 matches
Mail list logo