1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_weechat.git synced 2024-08-16 13:09:48 +02:00
ansible_role_weechat/tasks/main.yml
L3D eaa4a63cae
huge commit, updating role to ansible 2.11
+ update to ansible 2.11
+ improved linting
+ delete travis
+ increase version
+ update meta data
2021-05-27 14:14:13 +02:00

24 lines
777 B
YAML

---
- name: combine weechat variables
set_fact:
weechat: "{{ _weechat | combine(weechat, recursive=True) }}"
- name: perform optinal versionscheck
ansible.builtin.include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
- name: install weechat
ansible.builtin.include_tasks: "install-{{ ansible_os_family|lower }}.yml"
when: weechat.install | bool
- name: deploy weechat configuration
ansible.builtin.include_tasks: configure_custom_config.yml
when: weechat.use_custom_config | bool
- name: install requirements for weechat plugins
ansible.builtin.include_tasks: configure_plugins.yml
when: weechat.install_plugins | bool
- name: setup weechat autostart
ansible.builtin.include_tasks: setup_autostart.yml
when: weechat.autostart | bool