mirror of
https://github.com/roles-ansible/ansible_role_weechat.git
synced 2024-08-16 13:09:48 +02:00
24 lines
461 B
YAML
24 lines
461 B
YAML
|
---
|
||
|
- name: install tmux to launch weechat
|
||
|
become: true
|
||
|
package:
|
||
|
name: tmux
|
||
|
state: present
|
||
|
when: weechat.install | bool
|
||
|
|
||
|
- name: copy systemd service for weechat
|
||
|
become: true
|
||
|
copy:
|
||
|
src: files/weechat.service
|
||
|
dest: /etc/systemd/system/weechat.service
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: '0644'
|
||
|
|
||
|
- name: start and enable weechat.service
|
||
|
become: true
|
||
|
systemd:
|
||
|
state: started
|
||
|
name: weechat.service
|
||
|
daemon_reload: yes
|