# \#netbox

**URL:** https://forum.ansible.com/tag/netbox/422.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Unable to start rulebook activation: ERROR: No username set in the environment](https://forum.ansible.com/t/unable-to-start-rulebook-activation-error-no-username-set-in-the-environment/45557)

<div class="topic-metadata">

**Author:** [@robinr1](https://forum.ansible.com/u/robinr1)\
**Replies:** 1\
**Last updated:** [April 17, 2026, 2:30pm UTC](https://forum.ansible.com/t/unable-to-start-rulebook-activation-error-no-username-set-in-the-environment/45557 "2026-04-17T14:30:14Z")

</div>

I’m a long time user of Ansible, AWX and ARA but new to EDA. I tried setting up an EDA instance using eda-server-operator:main, and after a lot of trail and error, it looks like it is now running correctly. This is my ed…

---

## [Cisco Playbook sents commands multiple times](https://forum.ansible.com/t/cisco-playbook-sents-commands-multiple-times/45318)

<div class="topic-metadata">

**Author:** [@Jeremy79](https://forum.ansible.com/u/Jeremy79)\
**Replies:** 2\
**Last updated:** [February 12, 2026, 3:48pm UTC](https://forum.ansible.com/t/cisco-playbook-sents-commands-multiple-times/45318 "2026-02-12T15:48:23Z")

</div>

I’ve got a playbook that is triggered by a Netbox Interface change and it’s almost working as expected. When the playbook runs and connected to the Cisco device if it needs to push the block of changes it will push it m…

---

## [Netbox.netbox.nb\_lookup returning 403 error](https://forum.ansible.com/t/netbox-netbox-nb-lookup-returning-403-error/45069)

<div class="topic-metadata">

**Author:** [@Yehudah](https://forum.ansible.com/u/Yehudah)\
**Replies:** 0\
**Last updated:** [January 8, 2026, 7:30am UTC](https://forum.ansible.com/t/netbox-netbox-nb-lookup-returning-403-error/45069 "2026-01-08T07:30:23Z")

</div>

My ansible inventory has netbox\_url and netbox\_token under \[all:vars\] When I do a curl request too the api with whose credential I get a 200 response In my ansible playbook I have this task - name: Get device details…

---

## [Managing Network Config Drift with Netbox and Ansible Part-3](https://forum.ansible.com/t/managing-network-config-drift-with-netbox-and-ansible-part-3/44273)

<div class="topic-metadata">

**Author:** [@TDub](https://forum.ansible.com/u/TDub)\
**Replies:** 0\
**Last updated:** [August 11, 2025, 3:38pm UTC](https://forum.ansible.com/t/managing-network-config-drift-with-netbox-and-ansible-part-3/44273 "2025-08-11T15:38:23Z")

</div>

Managing Network Config Drift with Ansible (Part3) In Part 1 of this series, we established the risks of network configuration drift and the critical role a Single Source of Truth (SSoT) plays in maintaining network inte…

---

## [General question on implementing a gradual rollout service](https://forum.ansible.com/t/general-question-on-implementing-a-gradual-rollout-service/43845)

<div class="topic-metadata">

**Author:** [@lordofire](https://forum.ansible.com/u/lordofire)\
**Replies:** 4\
**Last updated:** [July 11, 2025, 7:26pm UTC](https://forum.ansible.com/t/general-question-on-implementing-a-gradual-rollout-service/43845 "2025-07-11T19:26:28Z")

</div>

Hi there, I have a general design questions on implementing a maintenance deployment service. For the design of this service, I have the following goals: Compared to simple one shot deployment, I would like to design …

---

## [NETBOX - Get interface of virtual\_machine](https://forum.ansible.com/t/netbox-get-interface-of-virtual-machine/41600)

<div class="topic-metadata">

**Author:** [@mcoussi](https://forum.ansible.com/u/mcoussi)\
**Replies:** 1\
**Last updated:** [April 8, 2025, 6:20pm UTC](https://forum.ansible.com/t/netbox-get-interface-of-virtual-machine/41600 "2025-04-08T18:20:49Z")

</div>

Hi, From Netbox module for Ansible, i tried to get interface of a VM. With this i got all the interface in Netbox : - debug: msg: "{{ query('netbox.netbox.nb\_lookup', 'virtualization-interfaces', api\_endpoint=net…

---

## [NETBOX - Get prefix information](https://forum.ansible.com/t/netbox-get-prefix-information/41513)

<div class="topic-metadata">

**Author:** [@mcoussi](https://forum.ansible.com/u/mcoussi)\
**Replies:** 2\
**Last updated:** [April 7, 2025, 4:02pm UTC](https://forum.ansible.com/t/netbox-get-prefix-information/41513 "2025-04-07T16:02:04Z")

</div>

Hi all, I tried to use netbox module for Ansible. I tried to get prefix information from \[PREFIX\_NAME and VRF\_ID\] name / id. But first i just tried to get all prefix from VRF\_ID like below : → 17 is an ID of an exis…

---

## [Integer data type unable to retain his type when passed into a variable](https://forum.ansible.com/t/integer-data-type-unable-to-retain-his-type-when-passed-into-a-variable/39950)

<div class="topic-metadata">

**Author:** [@chrys\_Bimokono](https://forum.ansible.com/u/chrys_Bimokono)\
**Replies:** 0\
**Last updated:** [January 31, 2025, 9:23pm UTC](https://forum.ansible.com/t/integer-data-type-unable-to-retain-his-type-when-passed-into-a-variable/39950 "2025-01-31T21:23:31Z")

</div>

I am not able to pass integer variable to task without losing the integer type. I am trying to populate netbox using ansible playbook. ansible version: 2.17.7 python version = 3.10.12 jinja version = 3.1.5 My struct…

---

## [Ansible - central firewall management](https://forum.ansible.com/t/ansible-central-firewall-management/5610)

<div class="topic-metadata">

**Author:** [@alainseys](https://forum.ansible.com/u/alainseys)\
**Replies:** 2\
**Last updated:** [November 22, 2024, 6:59pm UTC](https://forum.ansible.com/t/ansible-central-firewall-management/5610 "2024-11-22T18:59:38Z")

</div>

Hello, in our company we want to allow central firewall management all of the ansible code is in git. So the idea is to add a role where we define per host or hostgroup what rules that are applicable. When the role is …

---

## [Programable Survey feature in AWX](https://forum.ansible.com/t/programable-survey-feature-in-awx/5806)

<div class="topic-metadata">

**Author:** [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Replies:** 21\
**Last updated:** [November 18, 2024, 10:28am UTC](https://forum.ansible.com/t/programable-survey-feature-in-awx/5806 "2024-11-18T10:28:20Z")

</div>

This is one of the must thumbs up and frequently requested feature in the AWX project and recently when I attended Ansible Fest 2024 6 people came up to me and ask me about this feature. At this point I do not know wh…

---

## [Extra-vars flag with file not populating variables with ansible-inventory command](https://forum.ansible.com/t/extra-vars-flag-with-file-not-populating-variables-with-ansible-inventory-command/10963)

<div class="topic-metadata">

**Author:** [@jforman](https://forum.ansible.com/u/jforman)\
**Replies:** 2\
**Last updated:** [November 17, 2024, 9:24pm UTC](https://forum.ansible.com/t/extra-vars-flag-with-file-not-populating-variables-with-ansible-inventory-command/10963 "2024-11-17T21:24:18Z")

</div>

I’m trying to integrate my netbox installation with ansible to use it as an inventory source of truth. I’m merely trying to do the first type of integration which is to list the hosts in netbox. My command % ansible-i…

---

## [AWX Task failed with more then 5 hosts](https://forum.ansible.com/t/awx-task-failed-with-more-then-5-hosts/10774)

<div class="topic-metadata">

**Author:** [@bayet](https://forum.ansible.com/u/bayet)\
**Replies:** 1\
**Last updated:** [November 8, 2024, 1:51pm UTC](https://forum.ansible.com/t/awx-task-failed-with-more-then-5-hosts/10774 "2024-11-08T13:51:52Z")

</div>

Hello everyone, I have an Ansible AWX playbook that uses NetBox as a dynamic inventory source of truth (SoT). The playbook is designed to back up my devices and upload the backups to Git. The issue I’m facing is that th…

---

## [Issues linking parent interface with netbox\_device\_interface module](https://forum.ansible.com/t/issues-linking-parent-interface-with-netbox-device-interface-module/9690)

<div class="topic-metadata">

**Author:** [@sam\_karateman](https://forum.ansible.com/u/sam_karateman)\
**Replies:** 1\
**Last updated:** [October 10, 2024, 7:27pm UTC](https://forum.ansible.com/t/issues-linking-parent-interface-with-netbox-device-interface-module/9690 "2024-10-10T19:27:26Z")

</div>

Hello, I’m attempting to use the netbox.netbox.netbox\_device\_interface module to create an interface and assign a parent interface to it. Here are the tasks I’m using to get the ID from the API: - name: Get bon…

---

## [Help with json results in a loop](https://forum.ansible.com/t/help-with-json-results-in-a-loop/10154)

<div class="topic-metadata">

**Author:** [@SixteenOne](https://forum.ansible.com/u/SixteenOne)\
**Replies:** 3\
**Last updated:** [October 10, 2024, 1:16pm UTC](https://forum.ansible.com/t/help-with-json-results-in-a-loop/10154 "2024-10-10T13:16:58Z")

</div>

I am trying new things to try and push my learning with Ansible. I have been using Dynamic Inventories with my Proxmox Servers, but wanted to try out Netbox to record all of my VM’s I have created a task to retrieve the…

---

## [Wildcards in ansible\_facts](https://forum.ansible.com/t/wildcards-in-ansible-facts/8260)

<div class="topic-metadata">

**Author:** [@sam\_karateman](https://forum.ansible.com/u/sam_karateman)\
**Replies:** 6\
**Last updated:** [October 4, 2024, 7:24pm UTC](https://forum.ansible.com/t/wildcards-in-ansible-facts/8260 "2024-10-04T19:24:52Z")

</div>

Hello, I’m attempting to loop over numerous network interfaces and send them to our NetBox instance. Unfortunately, due to the disparate types of servers and network interfaces that are provided, I would like to be able…

---

## [merge/override variable from devices\_role and tags variable file with netbox ](https://forum.ansible.com/t/merge-override-variable-from-devices-role-and-tags-variable-file-with-netbox/8734)

<div class="topic-metadata">

**Author:** [@PoPz57](https://forum.ansible.com/u/PoPz57)\
**Replies:** 0\
**Last updated:** [September 24, 2024, 5:16pm UTC](https://forum.ansible.com/t/merge-override-variable-from-devices-role-and-tags-variable-file-with-netbox/8734 "2024-09-24T17:16:12Z")

</div>

Hi All, im getting confused with the usage of dynamic inventories with netbox. I had a playbook which is execute on server with a specific role: ex: - name: server\_monit hosts: device\_roles\_server\_monit roles: …

---

## [Netbox Inventory "not include tag"](https://forum.ansible.com/t/netbox-inventory-not-include-tag/7947)

<div class="topic-metadata">

**Author:** [@shb256](https://forum.ansible.com/u/shb256)\
**Replies:** 3\
**Last updated:** [August 29, 2024, 6:46am UTC](https://forum.ansible.com/t/netbox-inventory-not-include-tag/7947 "2024-08-29T06:46:43Z")

</div>

Hi, i ve a working Netbox Inventory with query\_filters. It looks like query\_filters: - tag: update-daily - platform: debian and now I like to extend the query that every host is excluded with the tag no-updates …

---

## [Variables in dynamic inventory not working](https://forum.ansible.com/t/variables-in-dynamic-inventory-not-working/7703)

<div class="topic-metadata">

**Author:** [@shb256](https://forum.ansible.com/u/shb256)\
**Replies:** 2\
**Last updated:** [August 7, 2024, 4:27pm UTC](https://forum.ansible.com/t/variables-in-dynamic-inventory-not-working/7703 "2024-08-07T16:27:43Z")

</div>

Hi, i ve setup an playbook with cli\_command I ve a static inventory 192.168.200.159 ansible\_network\_os=ios ansible\_ssh\_user=user ansible\_connection=network\_cli everything is working as expected, and executed on a c…

---

## [AWS RDS Cert Replacement Issue](https://forum.ansible.com/t/aws-rds-cert-replacement-issue/6668)

<div class="topic-metadata">

**Author:** [@marcstarr00](https://forum.ansible.com/u/marcstarr00)\
**Replies:** 3\
**Last updated:** [June 19, 2024, 5:36pm UTC](https://forum.ansible.com/t/aws-rds-cert-replacement-issue/6668 "2024-06-19T17:36:20Z")

</div>

Hello there. Posting for the first time. I’m preparing/testing for the AWS RDS CA cert expiration. I have a script to update the cert (still testing for now) - heres a snippet: name: Get all RDS instances community.…

---

## [Playbook Editor](https://forum.ansible.com/t/playbook-editor/5902)

<div class="topic-metadata">

**Author:** [@czql5v](https://forum.ansible.com/u/czql5v)\
**Replies:** 31\
**Last updated:** [June 14, 2024, 5:27pm UTC](https://forum.ansible.com/t/playbook-editor/5902 "2024-06-14T17:27:09Z")

</div>

Hi Guys, New to Ansible, Linux & GIT. Never used any before and have been put on a course through work. I am currently using vim as my playbook editor but find it very uncomfortable to use. I have been told that I coul…

---

## [\[Galaxy-NG\] Guidance regarding syncing community collections](https://forum.ansible.com/t/galaxy-ng-guidance-regarding-syncing-community-collections/5082)

<div class="topic-metadata">

**Author:** [@sparsh](https://forum.ansible.com/u/sparsh)\
**Replies:** 8\
**Last updated:** [May 28, 2024, 11:32am UTC](https://forum.ansible.com/t/galaxy-ng-guidance-regarding-syncing-community-collections/5082 "2024-05-28T11:32:04Z")

</div>

Hello, We have self deployed Ansible Galaxy for our internal use, and we wish to sync all the community collections from Ansible Galaxy on our own Galaxy site. Could someone help me with some guidance on how can I proc…

---

## [Module failure for cisco.nxos collection on AWX](https://forum.ansible.com/t/module-failure-for-cisco-nxos-collection-on-awx/5552)

<div class="topic-metadata">

**Author:** [@sk\_comet](https://forum.ansible.com/u/sk_comet)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 11:29am UTC](https://forum.ansible.com/t/module-failure-for-cisco-nxos-collection-on-awx/5552 "2024-05-07T11:29:16Z")

</div>

I recently provisioned AWX 23.9.0 on k3s. However, I’m unable to run any tasks in jobs/templates that involve cisco.nxos collection. Here is the error message I got each time I try to run this job: \<LAB\_001\> attemptin…

---

## [Alternative README paths should be supported](https://forum.ansible.com/t/alternative-readme-paths-should-be-supported/4056)

<div class="topic-metadata">

**Author:** [@lae](https://forum.ansible.com/u/lae)\
**Replies:** 2\
**Last updated:** [March 24, 2024, 9:39am UTC](https://forum.ansible.com/t/alternative-readme-paths-should-be-supported/4056 "2024-03-24T09:39:32Z")

</div>

I just tagged a new release for a legacy role of mine, went to import it on the new Galaxy website for the first time but was greeted with the following error: ===== LOADING ROLE ===== Importing with galaxy-importer 0.…

---

## [Project Base Path /var/lib/awx/projects not found](https://forum.ansible.com/t/project-base-path-var-lib-awx-projects-not-found/4488)

<div class="topic-metadata">

**Author:** [@ParrottJ](https://forum.ansible.com/u/ParrottJ)\
**Replies:** 0\
**Last updated:** [March 20, 2024, 6:55pm UTC](https://forum.ansible.com/t/project-base-path-var-lib-awx-projects-not-found/4488 "2024-03-20T18:55:55Z")

</div>

I am new to all of this so forgive the newbie questions please and thank you. A team mate utilized these links to install AWX https://computingforgeeks.com/how-to-install-ansible-awx-on-ubuntu-linux/ https://www.howto…

---

## [Large netbox dynamic inventory ouput doesn't allow sync hosts](https://forum.ansible.com/t/large-netbox-dynamic-inventory-ouput-doesnt-allow-sync-hosts/4137)

<div class="topic-metadata">

**Author:** [@proletariandrift](https://forum.ansible.com/u/proletariandrift)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 12:28pm UTC](https://forum.ansible.com/t/large-netbox-dynamic-inventory-ouput-doesnt-allow-sync-hosts/4137 "2024-02-29T12:28:56Z")

</div>

Bug Summary While using Netbox dynamic inventory script, which outputs inventory just for 1 host, it works fine. But if using more then 1 host awx-dispatcher gets an error: awx-dispatcher stderr | 2024-02-26 14:52:49,5…

---

## [Is there an equivalent to Puppet's Resource Collector?](https://forum.ansible.com/t/is-there-an-equivalent-to-puppets-resource-collector/2938)

<div class="topic-metadata">

**Author:** [@russell.cecala](https://forum.ansible.com/u/russell.cecala)\
**Replies:** 1\
**Last updated:** [December 18, 2023, 6:30pm UTC](https://forum.ansible.com/t/is-there-an-equivalent-to-puppets-resource-collector/2938 "2023-12-18T18:30:48Z")

</div>

I have a largish Ansible code base with yum tasks scattered throughout. Example: - name: Thing | Install MongoDB yum: state: present name: - mongodb-org - numactl - python-pymongo This would…

---

## [Molecule - Setup, documentation, and testing](https://forum.ansible.com/t/molecule-setup-documentation-and-testing/626)

<div class="topic-metadata">

**Author:** [@TheSpy0](https://forum.ansible.com/u/TheSpy0)\
**Replies:** 5\
**Last updated:** [September 27, 2023, 7:22pm UTC](https://forum.ansible.com/t/molecule-setup-documentation-and-testing/626 "2023-09-27T19:22:01Z")

</div>

I’m hoping to be able to get some assistance with configuring Molecule 6, as the documentation page is either lacking or I’m not understanding it. After creating the molecule/default directory and the files inside using…
