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:
parent
41eea637cc
commit
2338f51cbf
4 changed files with 27 additions and 6 deletions
|
@ -10,6 +10,9 @@ weechat:
|
||||||
home_directory: "/home/{{ weechat_user }}/.weechat"
|
home_directory: "/home/{{ weechat_user }}/.weechat"
|
||||||
# plugins we want
|
# plugins we want
|
||||||
plugins: []
|
plugins: []
|
||||||
|
# weechat gpg key for debian/ubuntu repo
|
||||||
|
gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
|
||||||
|
|
||||||
|
|
||||||
# version check for this role? (true is recomended)
|
# version check for this role? (true is recomended)
|
||||||
submodules_versioncheck: false
|
submodules_versioncheck: false
|
||||||
|
|
|
@ -3,4 +3,10 @@
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- weechat
|
- weechat
|
||||||
|
- weechat-plugins
|
||||||
|
- weechat-python
|
||||||
|
- weechat-perl
|
||||||
|
- weechat-lua
|
||||||
|
- weechaz-ruby
|
||||||
|
- weechat-doc
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
- name: Add weechat repository gpg-key
|
- name: Add weechat repository gpg-key
|
||||||
become: true
|
become: true
|
||||||
apt_key:
|
apt_key:
|
||||||
keyserver: 'ha.pool.sks-keyservers.net'
|
keyserver: 'keys.openpgp.org'
|
||||||
id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
|
id: "{{ weechat.gpg_id }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: add weechat repo
|
- name: add weechat repo
|
||||||
|
@ -13,10 +13,23 @@
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
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
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- weechat-curses
|
- weechat-curses
|
||||||
- weechat-plugins
|
- weechat-plugins
|
||||||
|
- weechat-python
|
||||||
|
- weechat-perl
|
||||||
|
- weechat-lua
|
||||||
|
- weechaz-ruby
|
||||||
|
- weechat-doc
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -9,7 +9,7 @@ weechat_plugin_languages:
|
||||||
lua: lua
|
lua: lua
|
||||||
|
|
||||||
# version management
|
# 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'
|
playbook_version_path: 'role-weechat_roles-ansible_github.com.version'
|
||||||
|
|
||||||
# default values
|
# default values
|
||||||
|
@ -19,5 +19,4 @@ _weechat:
|
||||||
user: "{{ ansible_user_id }}"
|
user: "{{ ansible_user_id }}"
|
||||||
home_directory: "/home/{{ weechat_user }}/.weechat"
|
home_directory: "/home/{{ weechat_user }}/.weechat"
|
||||||
plugins: []
|
plugins: []
|
||||||
|
gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue