Skip to content

Commit b5ecd15

Browse files
committed
Add php_version
1 parent 4f2422b commit b5ecd15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/vhosts/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
with_items: "{{ vhosts }}"
99

1010
- name: add vhosts
11-
shell: sudo nine-manage-vhosts virtual-host create "{{ item.servername | quote }}" --webroot="{{ item.documentroot | quote }}" --template="{{ item.template | default('default') | quote }}" --template-variable PHP_VERSION=7.4
11+
shell: sudo nine-manage-vhosts virtual-host create "{{ item.servername | quote }}" --webroot="{{ item.documentroot | quote }}" --template="{{ item.template | default('default') | quote }}" --template-variable PHP_VERSION={{ item.php_version | default('7.4') | quote }}
1212
args:
1313
creates: "/etc/apache2/user-vhosts/{{ item.servername }}.conf"
1414
with_items: "{{ vhosts }}"

0 commit comments

Comments
 (0)