Add MOTD
This commit is contained in:
parent
8e521ab2b2
commit
05fc45d1bd
3 changed files with 19 additions and 1 deletions
roles/inspircd
|
@ -33,6 +33,13 @@ inspircd_server_network: "{{ inventory_hostname }}"
|
|||
inspircd_admin_nick: admin
|
||||
inspircd_admin_email: noreply@example.com
|
||||
|
||||
inspircd_motd: |
|
||||
CCCC H H A N N GGGG EEEEE M M EEEEE
|
||||
C H H A A NN N G E MM MM E
|
||||
C HHHHH A A N N N G GG EEE M M M EEE
|
||||
C H H AAAAA N NN G G E M M E
|
||||
CCCC H H A A N N GGGG EEEEE M M EEEEE
|
||||
|
||||
inspircd_gnutls_profiles: {}
|
||||
|
||||
inspircd_bind:
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
---
|
||||
|
||||
- name: render /etc/inspircd/motd.txt
|
||||
copy:
|
||||
content: "{{ inspircd_motd }}"
|
||||
dest: /etc/inspircd/motd.txt
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: reload inspircd
|
||||
|
||||
- name: render /etc/inspircd/inspircd.conf
|
||||
template:
|
||||
src: etc/inspircd/inspircd.conf.2
|
||||
src: etc/inspircd/inspircd.conf.j2
|
||||
dest: /etc/inspircd/inspircd.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
nick="{{ inspircd_admin_nick }}"
|
||||
email="{{ inspircd_admin_email }}">
|
||||
|
||||
<files motd="/etc/inspircd/motd.txt">
|
||||
|
||||
{% if 'ssl_gnutls' in inspircd_modules + inspircd_modules_additional %}
|
||||
#
|
||||
# TLS CONFIG
|
Loading…
Add table
Reference in a new issue