mise à jour du code selon ansible-lint
[lhc/ansible.git] / tasks / download_nextcloud_source.yml
index e05ada3..77a46c6 100644 (file)
@@ -4,7 +4,7 @@
   ansible.builtin.get_url:
     url: "{{ nextcloud_repo_url }}/nextcloud-{{ nouvelle_version }}.tar.bz2"
     dest: "{{ nextcloud_sources_files_path }}/"
-    mode: '755' #or u=rwx,g=rx,o=rx
+    mode: '755' # or u=rwx,g=rx,o=rx
     checksum: "md5:{{ nextcloud_repo_url }}/nextcloud-{{ nouvelle_version }}.tar.bz2.md5"
 
 - name: create nextcloud source dir 
@@ -13,7 +13,7 @@
   ansible.builtin.file: 
     path: "{{ nextcloud_sources_files_path }}/nextcloud-{{ nouvelle_version }}"
     state: directory
-    mode: '755' #or u=rwx,g=rx,o=rx
+    mode: '755' # or u=rwx,g=rx,o=rx
 
 - name: Extract downloaded nextcloud source
   become: true
@@ -21,7 +21,7 @@
   ansible.builtin.unarchive:
     src: "{{ nextcloud_sources_files_path }}/nextcloud-{{ nouvelle_version }}.tar.bz2"
     dest: "{{ nextcloud_sources_files_path }}/"
-#    mode: '755' #or u=rwx,g=rx,o=rx
+#    mode: '755' # or u=rwx,g=rx,o=rx
     remote_src: yes
 
 - name: "rename nextloud dir to nextcloud-{{ nouvelle_version }}"
@@ -30,7 +30,7 @@
   ansible.builtin.copy: 
     src: "{{ nextcloud_sources_files_path }}/nextcloud/"
     dest: "{{ nextcloud_sources_files_path }}/nextcloud-{{ nouvelle_version }}"
-    remote_src: yes #because the config file is already in the nextcloud_tmp_path
+    remote_src: yes # because the config file is already in the nextcloud_tmp_path
 
 - name: deleted downloaded nextcloud files
   become: true