generated from sebclem/ansible-role-template
16 lines
362 B
YAML
16 lines
362 B
YAML
- 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"
|