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:
parent
4e34ca1107
commit
05fafe3375
4 changed files with 17 additions and 14 deletions
|
@ -18,7 +18,8 @@ weechat:
|
||||||
gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
|
gpg_id: '11E9DE8848F2B65222AA75B8D1820DB22A11534E'
|
||||||
# custom private config
|
# custom private config
|
||||||
custom_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
|
private_repo: false
|
||||||
# generate ssh key pair (if not available)
|
# generate ssh key pair (if not available)
|
||||||
gen_ssh_key_pair: true
|
gen_ssh_key_pair: true
|
||||||
|
|
|
@ -15,26 +15,26 @@
|
||||||
- name: add weechat repo
|
- name: add weechat repo
|
||||||
become: true
|
become: true
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
|
repo: "deb {{ weechat__debian_weechat_repo }}"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
|
|
||||||
- name: add weechat repo-src
|
- name: add weechat repo-src
|
||||||
become: true
|
become: true
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb-src https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
|
repo: "deb-src {{ weechat__debian_weechat_repo }}"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
|
|
||||||
- name: install recomended weechat packages
|
- name: install recomended weechat packages
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- weechat-curses
|
- weechat-curses
|
||||||
- weechat-plugins
|
- weechat-plugins
|
||||||
- weechat-python
|
- weechat-python
|
||||||
- weechat-perl
|
- weechat-perl
|
||||||
- weechat-lua
|
- weechat-lua
|
||||||
- weechat-ruby
|
- weechat-ruby
|
||||||
- weechat-doc
|
- weechat-doc
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -22,5 +22,5 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
state: started
|
state: started
|
||||||
name: weechat.service
|
name: weechat.service
|
||||||
daemon_reload: yes
|
daemon_reload: true
|
||||||
notify: systemctl restart weechat.service
|
notify: systemctl restart weechat.service
|
||||||
|
|
|
@ -9,7 +9,7 @@ weechat_plugin_languages:
|
||||||
lua: lua
|
lua: lua
|
||||||
|
|
||||||
# version management
|
# 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'
|
playbook_version_path: 'role-weechat_roles-ansible_github.com.version'
|
||||||
|
|
||||||
# default values
|
# default values
|
||||||
|
@ -25,3 +25,5 @@ _weechat:
|
||||||
custom_config:
|
custom_config:
|
||||||
private_repo: false
|
private_repo: false
|
||||||
gen_ssh_key_pair: true
|
gen_ssh_key_pair: true
|
||||||
|
|
||||||
|
weechat__debian_weechat_repo: "https://weechat.org/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main"
|
||||||
|
|
Loading…
Reference in a new issue