[ansible-project] netbox inventory fails with message: object has no attribute '_vars'

2022-11-07 Thread heinz6...@gmail.com
Hi., I have a new setup of netbox on ubuntu. - netbox install according to setup - apt install ansible pynetbox ansible.cfg: [inventory] enable_plugins = host_list, auto, yaml, netbox.netbox.nb_inventory netbox_inventory.yaml: plugin: netbox.netbox.nb_inventory api_endpoint: https://localhost

[ansible-project] Re: Playbook for cisco switch interface Network Access Control

2020-09-29 Thread heinz6...@gmail.com
Hi, use cisco ios config module with a jinja template. Works like a charm for me. https://docs.ansible.com/ansible/latest/collections/cisco/ios/ios_config_module.html Michael rtluc...@gmail.com schrieb am Montag, 28. September 2020 um 22:16:43 UTC+2: > Hello experts, I am looking for a way to

[ansible-project] Re: Ansible for Cisco switchport interface and 802.1x config

2020-07-22 Thread heinz6...@gmail.com
Hi, you need the cisco_ios module with a jinja template. Waqas Gondal schrieb am Mittwoch, 22. Juli 2020 um 19:58:19 UTC+2: > Hi > > > > I am working on putting Cisco ISE into enforcement mode on production > Cisco switches for 802.1x wired authentication. > > > > Currently the access inte

[ansible-project] netbox_interface module: Failed to establish connection to Netbox API"

2020-07-01 Thread heinz6...@gmail.com
Hi, I am quite desparate already. I want to use the netbox_interface module in ansible, but it fails. To check it, I use the uri module: - name: URI uri:: url: https://127.0.0.1/api/ method: GET header: Accept: application/json Authorization: Token validate_cer