aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jumbotron/tasks/irssi.yml
blob: 65eeb21d5b2aeaa64e8254d0781f52db00649a2b (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
---
- 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 jumbowatch.pl
  file:
    path: '~jumbotron/.irssi/scripts/autorun/jumbowatch.pl'
    src: '../../../jumbotron/jumbowatch.pl'
    state: link

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