# HG changeset patch # User Luke Hoersten # Date 1592152843 18000 # Node ID b86f3fc9fb6f4707433407712eb9ae79bce8844b # Parent edb53dfadfb569fa6f4094ef5aebf6f5a8fb3d70 Added ngircd. diff -r edb53dfadfb5 -r b86f3fc9fb6f aws-s3-backup/tasks/main.yaml --- a/aws-s3-backup/tasks/main.yaml Sat Jun 13 14:58:31 2020 -0500 +++ b/aws-s3-backup/tasks/main.yaml Sun Jun 14 11:40:43 2020 -0500 @@ -2,7 +2,7 @@ - name: apt install pip become: yes - apt: name="python-pip" + apt: name="python3-pip" - name: pip install aws cli packages become: yes diff -r edb53dfadfb5 -r b86f3fc9fb6f matrix-synapse/tasks/main.yaml --- a/matrix-synapse/tasks/main.yaml Sat Jun 13 14:58:31 2020 -0500 +++ b/matrix-synapse/tasks/main.yaml Sun Jun 14 11:40:43 2020 -0500 @@ -21,6 +21,26 @@ default_release: "buster-backports" notify: restart matrix synapse service +- name: create log file + become: yes + file: + path: "/var/log/matrix-synapse/homeserver.log" + owner: "matrix-synapse" + group: "root" + state: "touch" + mode: "0644" + changed_when: false + +- name: create media data dir + become: yes + file: + path: "{{matrix_synapse_media_store}}" + owner: "matrix-synapse" + group: "root" + state: "directory" + recurse: yes + mode: "0750" + - name: configure matrix synapse become: yes template: diff -r edb53dfadfb5 -r b86f3fc9fb6f ngircd/handlers/main.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ngircd/handlers/main.yaml Sun Jun 14 11:40:43 2020 -0500 @@ -0,0 +1,5 @@ +--- + +- name: restart ngircd + become: yes + systemd: name="ngircd" state="restarted" daemon_reload="yes" diff -r edb53dfadfb5 -r b86f3fc9fb6f ngircd/tasks/main.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ngircd/tasks/main.yaml Sun Jun 14 11:40:43 2020 -0500 @@ -0,0 +1,26 @@ +--- + +- name: apt install ngircd + become: yes + apt: name="ngircd" + notify: restart ngircd + +- name: config server name + become: yes + lineinfile: + path: "/etc/ngircd/ngircd.conf" + regexp: '^ Name =' + line: " Name = {{ngircd_name}}" + notify: restart ngircd + +- name: set motd + become: yes + copy: + src: "{{ngircd_motd_src}}" + dest: "/etc/ngircd/ngircd.motd" + mode: "0644" + notify: restart ngircd + +- name: start ngircd service + become: yes + systemd: name="ngircd" state="started" daemon_reload="yes" diff -r edb53dfadfb5 -r b86f3fc9fb6f postgresql/defaults/main.yaml --- a/postgresql/defaults/main.yaml Sat Jun 13 14:58:31 2020 -0500 +++ b/postgresql/defaults/main.yaml Sun Jun 14 11:40:43 2020 -0500 @@ -1,6 +1,6 @@ --- -postgresql_version: "11" +postgresql_version: "12" postgresql_config_path: "/etc/postgresql/{{postgresql_version}}/main/postgresql.conf" postgresql_data_dir: "/var/lib/postgresql/{{postgresql_version}}/main" postgresql_apt_packages: diff -r edb53dfadfb5 -r b86f3fc9fb6f rpi-base/defaults/main.yaml --- a/rpi-base/defaults/main.yaml Sat Jun 13 14:58:31 2020 -0500 +++ b/rpi-base/defaults/main.yaml Sun Jun 14 11:40:43 2020 -0500 @@ -13,3 +13,5 @@ - "jq" - "tree" - "iperf3" + - "python3-pip" + - "unzip"