Skip to content

Commit

Permalink
Add php_version
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Oct 10, 2024
1 parent 4f2422b commit b5ecd15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/vhosts/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
with_items: "{{ vhosts }}"

- name: add vhosts
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
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 }}
args:
creates: "/etc/apache2/user-vhosts/{{ item.servername }}.conf"
with_items: "{{ vhosts }}"
Expand Down

0 comments on commit b5ecd15

Please sign in to comment.