ansible-dolibarr-role/tasks/install.yml
2023-07-21 13:34:12 +02:00

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"