diff --git a/tasks/main.yml b/tasks/main.yml index a95d902..98e9f23 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,18 +5,13 @@ - name: plugins directory file: - path: "{{ docker_etherpad_data_dir }}/{{ docker_etherpad_service_id }}/node_modules" + path: "{{ docker_etherpad_data_dir }}/{{ docker_etherpad_service_id }}/{{ item }}" owner: "{{ docker_etherpad_data_owner | default(omit) }}" group: "{{ docker_etherpad_data_group | default(omit) }}" state: directory - -- name: symlink in node_modules - file: - src: "../src" - path: "{{ docker_etherpad_data_dir }}/{{ docker_etherpad_service_id }}/node_modules/ep_etherpad-lite" - state: link - force: yes - follow: no + with_items: + - plugin_packages + - var - name: settings.json exists stat: