2019-07-20 19:00:37 +02:00
|
|
|
---
|
2023-03-01 21:27:09 +01:00
|
|
|
- name: Perform optinal versionscheck
|
2021-05-27 14:14:13 +02:00
|
|
|
ansible.builtin.include_tasks: versioncheck.yml
|
2019-07-20 19:00:37 +02:00
|
|
|
when: submodules_versioncheck|bool
|
|
|
|
|
2023-03-01 21:27:09 +01:00
|
|
|
- name: Install weechat
|
|
|
|
ansible.builtin.include_tasks: "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-03-01 21:27:09 +01:00
|
|
|
- name: Deploy weechat__configuration
|
2021-05-27 14:14:13 +02:00
|
|
|
ansible.builtin.include_tasks: 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-03-01 21:27:09 +01:00
|
|
|
- name: Install requirements for weechat__plugins
|
2021-05-27 14:14:13 +02:00
|
|
|
ansible.builtin.include_tasks: 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-03-01 21:27:09 +01:00
|
|
|
- name: Setup weechat__autostart
|
2021-05-27 14:14:13 +02:00
|
|
|
ansible.builtin.include_tasks: setup_autostart.yml
|
2021-05-27 16:18:04 +02:00
|
|
|
when: weechat__autostart | bool
|