jvoss / ansible-role-netbox Goto Github PK
View Code? Open in Web Editor NEWAnsible Role - Netbox
License: MIT License
Ansible Role - Netbox
License: MIT License
Hello dear sir.
it would be nice to add custom plugins to local_requirements.txt
and install them automatically.
a task in the file configure.yml
similar to this one can do the job:
- name: configure | add the custom plugins local_requirements.txt
ansible.builtin.lineinfile:
path: "{{ netbox_current_path }}/local_requirements.txt"
line: "{{ item.name }}"
regexp: "^{{ item.name }}"
owner: "{{ netbox_user }}"
mode: '0644'
create: yes
with_items: "{{ netbox_plugins }}"
I'm using the already present variable netbox_plugins
to generate the list of names to be added to the local_requirements.txt
I might open a PR but I suspect you are already working on something like this.
let me know.
Best
Python package 'django-auth-ldap' does not get installed automatically when configuring LDAP
I used this role successfully on Fedora 37 (see #57 ).
I had to add some packages to get it working, see this playbook:
- name: 'Install netbox'
hosts: 'all'
gather_facts: true
become: true
pre_tasks:
- name: Install cronie
ansible.builtin.package:
name: cronie
state: present
- name: Install acl
ansible.builtin.package:
name: acl
state: present
- name: Install python3-django
ansible.builtin.package:
name: python3-django
state: present
roles:
- role: 'jvoss.netbox'
If desired I can add a PR to make the role install those packages on Fedora.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.