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

35 lines
820 B
YAML
Raw Normal View History

2019-07-20 19:13:01 +02:00
---
- name: Add weechat repository gpg-key
become: true
apt_key:
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
- 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
- weechat-python
- weechat-perl
- weechat-lua
- weechaz-ruby
- weechat-doc
2019-07-20 19:13:01 +02:00
state: present