We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea39ad commit 31aa787Copy full SHA for 31aa787
tasks/deploy_netbox.yml
@@ -86,6 +86,19 @@
86
- restart netbox.service
87
- restart netbox-rqworker.service
88
89
+# local_requirements.txt
90
+- name: Copy selected optional Python dependencies to local_requirements.txt
91
+ ansible.builtin.copy:
92
+ content: |
93
+ {% for dep in _netbox_python_deps %}
94
+ {{ dep }}
95
+ {% endfor %}
96
+ dest: "{{ netbox_current_path }}/local_requirements.txt"
97
+ when: (_netbox_python_deps | length) > 0
98
+ notify:
99
+ - restart netbox.service
100
+ - restart netbox-rqworker.service
101
+
102
- name: NetBox Configuration
103
block:
104
# configuration.py
0 commit comments