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.
2 parents a4b901c + 4503039 commit b9eda0dCopy full SHA for b9eda0d
tasks/deploy_netbox.yml
@@ -86,6 +86,18 @@
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
+ owner: "{{ netbox_user }}"
98
+ group: "{{ netbox_group }}"
99
+ when: (_netbox_python_deps | length) > 0
100
+
101
- name: NetBox Configuration
102
block:
103
# configuration.py
0 commit comments