Skip to content

Commit b04570c

Browse files
committed
Wrap all extra args for joining
1 parent 9d1223d commit b04570c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tasks/deploy_netbox.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
ansible.builtin.pip:
6464
requirements: "{{ netbox_shared_path }}/requirements.txt"
6565
extra_args: >-
66-
{{ ['-c', netbox_shared_path + '/constraints.txt']
67-
+ (netbox_pip_extra_args | default([]))
66+
{{ (['-c', netbox_shared_path + '/constraints.txt']
67+
+ (netbox_pip_extra_args | default([])))
6868
| join(' ') }}
6969
virtualenv: "{{ netbox_virtualenv_path }}"
7070
become: true
@@ -79,8 +79,8 @@
7979
state: present
8080
virtualenv: "{{ netbox_virtualenv_path }}"
8181
extra_args: >-
82-
{{ ['-c', netbox_shared_path + '/constraints.txt']
83-
+ (netbox_pip_extra_args | default([]))
82+
{{ (['-c', netbox_shared_path + '/constraints.txt']
83+
+ (netbox_pip_extra_args | default([])))
8484
| join(' ') }}
8585
become: true
8686
become_user: "{{ netbox_user }}"

0 commit comments

Comments
 (0)