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'
|
||||
# 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
|
||||
|
|
|
@ -15,16 +15,16 @@
|
|||
- 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
|
||||
|
|
|
@ -22,5 +22,5 @@
|
|||
enabled: true
|
||||
state: started
|
||||
name: weechat.service
|
||||
daemon_reload: yes
|
||||
daemon_reload: true
|
||||
notify: systemctl restart weechat.service
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue