1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_weechat.git synced 2024-08-16 13:09:48 +02:00

Update installation method and packages [debian]

This commit is contained in:
L3D 2020-03-11 10:07:41 +01:00 committed by L3D
parent 41eea637cc
commit 2338f51cbf
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
4 changed files with 27 additions and 6 deletions

View file

@ -10,6 +10,9 @@ weechat:
home_directory: "/home/{{ weechat_user }}/.weechat"
# plugins we want
plugins: []
# weechat gpg key for debian/ubuntu repo
gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
# version check for this role? (true is recomended)
submodules_versioncheck: false

View file

@ -3,4 +3,10 @@
package:
name:
- weechat
- weechat-plugins
- weechat-python
- weechat-perl
- weechat-lua
- weechaz-ruby
- weechat-doc
state: present

View file

@ -2,8 +2,8 @@
- name: Add weechat repository gpg-key
become: true
apt_key:
keyserver: 'ha.pool.sks-keyservers.net'
id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
keyserver: 'keys.openpgp.org'
id: "{{ weechat.gpg_id }}"
state: present
- name: add weechat repo
@ -13,10 +13,23 @@
state: present
update_cache: yes
- name: install weechat and plugins
- 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
become: true
apt:
name:
- weechat-curses
- weechat-plugins
- weechat-python
- weechat-perl
- weechat-lua
- weechaz-ruby
- weechat-doc
state: present

View file

@ -9,7 +9,7 @@ weechat_plugin_languages:
lua: lua
# version management
playbook_version_number: 2049 # should be over ninethousand
playbook_version_number: 2050 # should be over ninethousand
playbook_version_path: 'role-weechat_roles-ansible_github.com.version'
# default values
@ -19,5 +19,4 @@ _weechat:
user: "{{ ansible_user_id }}"
home_directory: "/home/{{ weechat_user }}/.weechat"
plugins: []
gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'