2019-07-20 19:13:01 +02:00
|
|
|
---
|
2020-11-10 13:41:40 +01:00
|
|
|
- name: install apt-transport-https
|
|
|
|
become: true
|
|
|
|
apt:
|
|
|
|
name: apt-transport-https
|
|
|
|
state: present
|
|
|
|
|
2019-07-20 19:13:01 +02:00
|
|
|
- name: Add weechat repository gpg-key
|
|
|
|
become: true
|
|
|
|
apt_key:
|
2020-03-11 10:07:41 +01:00
|
|
|
keyserver: 'keys.openpgp.org'
|
|
|
|
id: "{{ weechat.gpg_id }}"
|
2019-07-20 19:13:01 +02:00
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: add weechat repo
|
|
|
|
become: true
|
|
|
|
apt_repository:
|
|
|
|
repo: "deb https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
|
|
|
|
state: present
|
|
|
|
update_cache: yes
|
|
|
|
|
2020-03-11 10:07:41 +01:00
|
|
|
- name: add weechat repo-src
|
|
|
|
become: true
|
|
|
|
apt_repository:
|
|
|
|
repo: "deb-src https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
|
|
|
|
state: present
|
|
|
|
update_cache: yes
|
|
|
|
|
|
|
|
- name: install recomended weechat packages
|
2019-07-20 19:13:01 +02:00
|
|
|
become: true
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- weechat-curses
|
|
|
|
- weechat-plugins
|
2020-03-11 10:07:41 +01:00
|
|
|
- weechat-python
|
|
|
|
- weechat-perl
|
|
|
|
- weechat-lua
|
2020-03-11 20:42:00 +01:00
|
|
|
- weechat-ruby
|
2020-03-11 10:07:41 +01:00
|
|
|
- weechat-doc
|
2019-07-20 19:13:01 +02:00
|
|
|
state: present
|