# HG changeset patch # User Luke Hoersten # Date 1592281587 18000 # Node ID 4b18b1523ec24135730467f0f6e73312e4c48894 # Parent 3f1771bb0d796f2c6f4e50917c69cea7917338d0 Updated irc tasks. diff -r 3f1771bb0d79 -r 4b18b1523ec2 ngircd/tasks/main.yaml --- a/ngircd/tasks/main.yaml Mon Jun 15 23:25:16 2020 -0500 +++ b/ngircd/tasks/main.yaml Mon Jun 15 23:26:27 2020 -0500 @@ -13,7 +13,24 @@ line: " Name = {{ngircd_name}}" notify: restart ngircd -- name: set motd +- name: config server local listen + become: yes + lineinfile: + path: "/etc/ngircd/ngircd.conf" + regexp: '^ Listen =' + line: " Listen = 127.0.0.1" + insertafter: "^ ;Listen =" + notify: restart ngircd + +- name: config motd + become: yes + lineinfile: + path: "/etc/ngircd/ngircd.conf" + regexp: '^ Info =' + line: " Info = {{ngircd_motd}}" + notify: restart ngircd + +- name: copy motd file become: yes copy: src: "{{ngircd_motd_src}}" diff -r 3f1771bb0d79 -r 4b18b1523ec2 srht/tasks/main.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/srht/tasks/main.yaml Mon Jun 15 23:26:27 2020 -0500 @@ -0,0 +1,16 @@ +--- + +- name: add srht repo keys + become: yes + apt_key: url="https://mirror.sr.ht/debian/key.asc" + +- name: add srht apt repo + become: yes + apt_repository: repo="deb https://mirror.sr.ht/debian sid main" + +- name: install srht + become: yes + apt: + name: "{{item}}" + loop: + - "python3-hgsrht"