aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jumbotron/tasks/irssi.yml
blob: 60f618b6a4af996b17f0571ad7ec52ef9b8c5971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- name: Create ~jumbotron/.irssi directories
  file:
    path: '~jumbotron/{{ item }}'
    state: directory
    owner: jumbotron
    group: users
    mode: 0755
  with_items:
  - .irssi
  - .irssi/scripts
  - .irssi/scripts/autorun

- name: Configure irssi
  copy:
    dest: '~jumbotron/.irssi/config'
    src: irssi.config
    owner: jumbotron
    group: users
    mode: 0644

- name: Add autorun link for custom irssi plugins
  file:
    path: '~jumbotron/.irssi/scripts/autorun/{{ item }}'
    src: '../../../jumbotron/{{ item }}'
    state: link
  with_items:
  - jumbowatch.pl
  - Jumbochatter.pl

# vim: set ts=2 sw=2 et: