ansible-dolibarr-role/tasks/install.yml

16 lines
362 B
YAML
Raw Normal View History

2023-07-21 13:34:12 +02:00
- name: Ensure dolibar folder exist
ansible.builtin.file:
path: "/opt/dolibarr"
owner: "www-data"
group: "www-data"
mode: "755"
state: directory
2023-07-21 13:21:16 +02:00
- name: Download and unzip dolibarr
ansible.builtin.unarchive:
remote_src: true
src: "{{ dolibarr_dowload_url }}"
2023-07-21 13:27:38 +02:00
dest: "/opt/dolibarr"
2023-07-21 13:21:16 +02:00
owner: "www-data"
group: "www-data"