mirror of
https://github.com/roles-ansible/ansible_role_weechat.git
synced 2024-08-16 13:09:48 +02:00
14 lines
570 B
YAML
14 lines
570 B
YAML
|
---
|
||
|
- name: download weechat plugins
|
||
|
get_url:
|
||
|
url: 'https://weechat.org/files/scripts/{{ item }}'
|
||
|
dest: "{{ weechat.home_directory }}/{{ weechat_plugin_languages[item.split('.',1)[-1]] }}/{{ item }}"
|
||
|
with_items: '{{ weechat.plugins }}'
|
||
|
|
||
|
- name: symlinking plugins to autoload
|
||
|
file:
|
||
|
src: "{{ weechat.home_directory }}/{{ weechat_plugin_languages[item.split('.',1)[-1]] }}/{{ item }}"
|
||
|
dest: "{{ weechat.home_directory }}/{{ weechat_plugin_languages[item.split('.',1)[-1]] }}/autoload/{{ item }}"
|
||
|
state: link
|
||
|
with_items: '{{ weechat.plugins }}'
|