From: rominique Date: Tue, 18 Jun 2024 13:09:07 +0000 (+0200) Subject: modif creation dossier common app nextcloud X-Git-Url: http://git.cyclocoop.org/%22%22.url_de_base%28%29.%22/%40%20%27info_date_publication_anterieure%27%20=%3E%20%27Previously%20published%20on:%27%2C%20%27info_date_referencement%27%20=%3E%20%27THIS%20SITE%20REFERENCED%20ON:%27%2C%20%27info_derniere_etape%27%20=%3E%20%27Done%21%27%2C-%27info_derniers_articles_publies%27%20=%3E%20%27Your%20most%20recently%20published%20articles%27%2C-%27info_desactiver_messagerie_personnelle%27%20=%3E%20%27You%20can%20enable%20or%20disable%20your%20personal%20messaging%20on%20this%20site.%27%2C%20%27info_descriptif%27%20=%3E%20%27Description:%27%2C%20%27info_desinstaller_plugin%27%20=%3E%20%27%20deactivates%20the%20plugin%20and%20deletes%20the%20data%27%2C%20%27info_discussion_cours%27%20=%3E%20%27Current%20discussions%27%2C%40%40%20-332%2C7%20%20284%2C6%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;h=694c8edd71371ed26914f110eef4140e78a75c0d;p=lhc%2Fansible.git modif creation dossier common app nextcloud --- diff --git a/update_nuage_instance.yml b/update_nuage_instance.yml index c1d8fe4..eeed883 100644 --- a/update_nuage_instance.yml +++ b/update_nuage_instance.yml @@ -69,15 +69,15 @@ ansible_become: true become_user: nextcloud - - name: Create new app common folder from old version one - become_user: nextcloud + - name: Création du dossier common de la nouvelle version en utilisant les apps de l'instance test-nuage become: true ansible.builtin.copy: - src: "{{ nextcloud_common_files_path }}/nextcloud-{{ ancienne_version }}/" - dest: "{{ nextcloud_common_files_path }}/nextcloud-{{ nouvelle_version }}" + src: "/home/site/home/sites/data/org/heureux-cyclage/test-nuage/apps/*" + dest: "{{ nextcloud_common_files_path }}/nextcloud-{{ nouvelle_version }}/" 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 + owner: nextcloud + group: nextcloud - name: Include backup tasks ansible.builtin.include_tasks: tasks/backup_nextcloud.yml