fix variables

This commit is contained in:
2023-10-08 13:35:28 +02:00
parent 2a2064c1ba
commit 03e26e0598
2 changed files with 5 additions and 5 deletions

View File

@@ -2,5 +2,5 @@
nextcloud_instances: []
nextcloud_user: "cloud"
nextcloud_path: "/var/www/nextcloud"
php_binary: "php"
php_arguments: ""
php_binary_default: "php"
php_arguments_default: ""

View File

@@ -4,8 +4,8 @@
vars:
nextcloud_user: "{{ nc_instance.nextcloud_user }}"
nextcloud_path: "{{ nc_instance.nextcloud_path }}"
php_binary: "{{ nc_instance.php_binary }}"
php_arguments: "{{ nc_instance.php_arguments }}"
php_binary: "{{ nc_instance.php_binary | default(php_binary_default) }}"
php_arguments: "{{ nc_instance.php_arguments | default(php_arguments_default) }}"
loop_control:
loop_var: "nc_instance"
loop: "{{ nextcloud_instances }}"
loop: "{{ nextcloud_instances }}"