ansible_modules | The Ansible modules used at Cloudar
kandi X-RAY | ansible_modules Summary
kandi X-RAY | ansible_modules Summary
The Ansible modules used at Cloudar
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ansible_modules
ansible_modules Key Features
ansible_modules Examples and Code Snippets
Community Discussions
Trending Discussions on ansible_modules
QUESTION
I've been wanting to try out Ansible modules available for Netbox [1].
However, I find myself stuck right in the beginning.
Here's what I've tried:
Add prefix/VLAN to netbox [2]:
...ANSWER
Answered 2020-Jul-07 at 09:54All playbooks using API modules like netbox
(but this is the same for gcp
or aws
) must use as host not the target but the host that will execute the playbook to call the API. Most of the time this is localhost
, but that can be also a dedicated node like a bastion.
You can see in the example on the documentation you linked that it uses hosts: localhost
.
Hence I think your playbook should be
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ansible_modules
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page