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/install-debian.yml

41 lines
902 B
YAML
Raw Normal View History

2019-07-20 19:13:01 +02:00
---
- name: install apt-transport-https
become: true
ansible.builtin.apt:
name: apt-transport-https
state: present
2019-07-20 19:13:01 +02:00
- name: Add weechat repository gpg-key
become: true
ansible.builtin.apt_key:
keyserver: 'keys.openpgp.org'
2021-05-27 16:18:04 +02:00
id: "{{ weechat__gpg_id }}"
2019-07-20 19:13:01 +02:00
state: present
- name: add weechat repo
become: true
ansible.builtin.apt_repository:
2020-11-10 17:30:41 +01:00
repo: "deb {{ weechat__debian_weechat_repo }}"
2019-07-20 19:13:01 +02:00
state: present
2020-11-10 17:30:41 +01:00
update_cache: true
2019-07-20 19:13:01 +02:00
- name: add weechat repo-src
become: true
ansible.builtin.apt_repository:
2020-11-10 17:30:41 +01:00
repo: "deb-src {{ weechat__debian_weechat_repo }}"
state: present
2020-11-10 17:30:41 +01:00
update_cache: true
- name: install recomended weechat packages
2019-07-20 19:13:01 +02:00
become: true
ansible.builtin.apt:
2019-07-20 19:13:01 +02:00
name:
2020-11-10 17:30:41 +01:00
- weechat-curses
- weechat-plugins
- weechat-python
- weechat-perl
- weechat-lua
- weechat-ruby
- weechat-doc
2019-07-20 19:13:01 +02:00
state: present