maj commentaire
authorrominique <romain.legoff@heureux-cyclage.org>
Mon, 18 Dec 2023 10:44:15 +0000 (11:44 +0100)
committerrominique <romain.legoff@heureux-cyclage.org>
Mon, 18 Dec 2023 10:44:15 +0000 (11:44 +0100)
group_vars/vm.yml
update_nuage_instance.yml

index 8be1443..bb871ec 100644 (file)
@@ -9,7 +9,8 @@ nouvelle_version: 23.0.12
 # 26.0.4
 php_fpm_service: php8.0-fpm
 nextcloud_tmp_path: "/tmp/nextcloud/{{ domain }}"
-nextcloud_db_name: "php_nuage_{{ domain }}"
+nextcloud_backup_path: "/opt/nuage/backups/{{ domain }}"
+nextcloud_db_name: "nextcloud"
 nextcloud_sources_files_path: "{{ nextcloud_files_path }}/sources"
 nextcloud_common_files_path: "{{ nextcloud_files_path }}/common"
 nextcloud_source: "{{ nextcloud_sources_files_path }}/nextcloud-{{ nouvelle_version }}"
index eb40ebb..35c15e9 100644 (file)
@@ -62,7 +62,7 @@
       ansible.builtin.copy:
         src: "{{ nextcloud_common_files_path }}/nextcloud-{{ ancienne_version }}/"
         dest: "{{ nextcloud_common_files_path }}/nextcloud-{{ nouvelle_version }}"
-        remote_src: true # because the config file is already in the nextcloud_tmp_path
+        remote_src: true # because the copy is from remote host to remote host
         mode: '754' # or 'u=rwx,g=rx,o=r'
       when: not new_nextcloud_common.stat.exists