20 lines
458 B
YAML
20 lines
458 B
YAML
---
|
|
|
|
- name: generate /etc/inspircd/spanningtree.pw
|
|
set_fact:
|
|
inspircd_link_sendpass: "{{ lookup('password', '/etc/inspircd/spanningtree.pw') }}"
|
|
|
|
- name: render /etc/inspircd/inspircd.conf
|
|
template:
|
|
src: etc/inspircd/inspircd.conf.2
|
|
dest: /etc/inspircd/inspircd.conf
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
notify: reload inspircd
|
|
|
|
- name: start and enable inspircd
|
|
service:
|
|
name: inspircd
|
|
state: started
|
|
enabled: yes
|