2019-07-20 19:00:37 +02:00
|
|
|
---
|
2023-03-01 21:27:09 +01:00
|
|
|
- name: Perform optinal versionscheck
|
2023-10-30 00:21:01 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'versioncheck.yml'
|
|
|
|
when: submodules_versioncheck | bool
|
2019-07-20 19:00:37 +02:00
|
|
|
|
2023-10-30 00:21:01 +01:00
|
|
|
- name: 'Install weechat'
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: "install-{{ ansible_os_family | lower }}.yml"
|
2021-05-27 16:18:04 +02:00
|
|
|
when: weechat__install | bool
|
2019-07-20 20:04:45 +02:00
|
|
|
|
2023-10-30 00:21:01 +01:00
|
|
|
- name: 'Deploy weechat__configuration'
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: configure_custom_config.yml
|
2021-05-27 16:18:04 +02:00
|
|
|
when: weechat__use_custom_config | bool
|
2020-03-12 04:01:23 +01:00
|
|
|
|
2023-10-30 00:21:01 +01:00
|
|
|
- name: 'Install requirements for weechat__plugins'
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: configure_plugins.yml
|
2021-05-27 16:18:04 +02:00
|
|
|
when: weechat__install_plugins | bool
|
2020-03-11 10:42:48 +01:00
|
|
|
|
2023-10-30 00:21:01 +01:00
|
|
|
- name: 'Setup weechat__autostart'
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: setup_autostart.yml
|
2021-05-27 16:18:04 +02:00
|
|
|
when: weechat__autostart | bool
|