atheme/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 04 Jul 2020 12:47:25 -0500
changeset 114 34c8632d763d
parent 113 d843011c249d
permissions -rw-r--r--
Added oragono role.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
113
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
---
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
- name: apt install atheme
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
  become: yes
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
  apt: name="atheme-services"
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
  notify: restart atheme
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
- name: configure atheme
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
  become: yes
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
  template:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
    src: "atheme.conf.j2"
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    12
    dest: "/etc/atheme/atheme.conf"
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    13
  notify: restart atheme
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    14
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    15
- name: start atheme service
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    16
  become: yes
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    17
  systemd: name="atheme-services.service" state="started" enabled="yes" daemon_reload="yes"