- name: Ensure dolibar folder exist ansible.builtin.file: path: "/opt/dolibarr" owner: "www-data" group: "www-data" mode: "755" state: directory - name: Download and unzip dolibarr ansible.builtin.unarchive: remote_src: true src: "{{ dolibarr_dowload_url }}" dest: "/opt/dolibarr" owner: "www-data" group: "www-data" extra_opts: - --strip-components=1