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

try to optimize

This commit is contained in:
Lilian Roller 2020-11-10 17:30:41 +01:00
parent 4e34ca1107
commit 05fafe3375
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
4 changed files with 17 additions and 14 deletions

View file

@ -18,7 +18,8 @@ weechat:
gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
# custom private config
custom_config:
# path to your custom weechat config (with plugins) git repo ( git@github.com:<your_name>/<your_weechat_config_repo>.git )
# path to your custom weechat config (with plugins) git repo
# ( eg. git@github.com:<your_name>/<your_weechat_config_repo>.git )
private_repo: false
# generate ssh key pair (if not available)
gen_ssh_key_pair: true

View file

@ -15,26 +15,26 @@
- name: add weechat repo
become: true
apt_repository:
repo: "deb https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
repo: "deb {{ weechat__debian_weechat_repo }}"
state: present
update_cache: yes
update_cache: true
- name: add weechat repo-src
become: true
apt_repository:
repo: "deb-src https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
repo: "deb-src {{ weechat__debian_weechat_repo }}"
state: present
update_cache: yes
update_cache: true
- name: install recomended weechat packages
become: true
apt:
name:
- weechat-curses
- weechat-plugins
- weechat-python
- weechat-perl
- weechat-lua
- weechat-ruby
- weechat-doc
- weechat-curses
- weechat-plugins
- weechat-python
- weechat-perl
- weechat-lua
- weechat-ruby
- weechat-doc
state: present

View file

@ -22,5 +22,5 @@
enabled: true
state: started
name: weechat.service
daemon_reload: yes
daemon_reload: true
notify: systemctl restart weechat.service

View file

@ -9,7 +9,7 @@ weechat_plugin_languages:
lua: lua
# version management
playbook_version_number: 4099 # should be over ninethousand
playbook_version_number: 4099 # should be over ninethousand
playbook_version_path: 'role-weechat_roles-ansible_github.com.version'
# default values
@ -25,3 +25,5 @@ _weechat:
custom_config:
private_repo: false
gen_ssh_key_pair: true
weechat__debian_weechat_repo: "https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"