Browse Source

Move wsproxy to custom

pull/2261/head
Johan Swetzén 3 years ago
parent
commit
9cbaa3e0bd
10 changed files with 7 additions and 6 deletions
  1. +1
    -0
      docs/configuring-dns.md
  2. +0
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/defaults/main.yml
  3. +0
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/tasks/init.yml
  4. +0
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/tasks/main.yml
  5. +2
    -2
      roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml
  6. +4
    -4
      roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_uninstall.yml
  7. +0
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/tasks/validate_config.yml
  8. +0
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/templates/config.yaml.j2
  9. +0
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/templates/systemd/matrix-mautrix-wsproxy-syncproxy.service.j2
  10. +0
    -0
      roles/custom/matrix-bridge-mautrix-wsproxy/templates/systemd/matrix-mautrix-wsproxy.service.j2

+ 1
- 0
docs/configuring-dns.md View File

@@ -42,6 +42,7 @@ When you're done configuring DNS, proceed to [Configuring the playbook](configur
| [Etherpad](configuring-playbook-etherpad.md) collaborative text editor | CNAME | `etherpad` | - | - | - | `matrix.<your-domain>` |
| [Hydrogen](configuring-playbook-client-hydrogen.md) web client | CNAME | `hydrogen` | - | - | - | `matrix.<your-domain>` |
| [Cinny](configuring-playbook-client-cinny.md) web client | CNAME | `cinny` | - | - | - | `matrix.<your-domain>` |
| [wsproxy](configuring-playbook-bridge-mautrix-wsproxy.md) sms bridge | CNAME | `wsproxy` | - | - | - | `matrix.<your-domain>` |
| [Buscarron](configuring-playbook-bot-buscarron.md) helpdesk bot | CNAME | `buscarron` | - | - | - | `matrix.<your-domain>` |
| [Postmoogle](configuring-playbook-bot-postmoogle.md)/[Email2Matrix](configuring-playbook-email2matrix.md) email bridges | MX | `matrix` | 10 | 0 | - | `matrix.<your-domain>` |
| [Postmoogle](configuring-playbook-bot-postmoogle.md) email bridge | TXT | `matrix` | - | - | - | `v=spf1 ip4:<your-ip> -all` |


roles/matrix-bridge-mautrix-wsproxy/defaults/main.yml → roles/custom/matrix-bridge-mautrix-wsproxy/defaults/main.yml View File


roles/matrix-bridge-mautrix-wsproxy/tasks/init.yml → roles/custom/matrix-bridge-mautrix-wsproxy/tasks/init.yml View File


roles/matrix-bridge-mautrix-wsproxy/tasks/main.yml → roles/custom/matrix-bridge-mautrix-wsproxy/tasks/main.yml View File


roles/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml → roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_install.yml View File

@@ -64,7 +64,7 @@
- name: Ensure matrix-mautrix-wsproxy.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-mautrix-wsproxy.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy.service"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy.service"
mode: 0644
register: matrix_mautrix_wsproxy_systemd_service_result

@@ -82,7 +82,7 @@
- name: Ensure matrix-mautrix-wsproxy-syncproxy.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-mautrix-wsproxy-syncproxy.service.j2"
dest: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service"
mode: 0644
register: matrix_mautrix_wsproxy_syncproxy_systemd_service_result


roles/matrix-bridge-mautrix-wsproxy/tasks/setup_uninstall.yml → roles/custom/matrix-bridge-mautrix-wsproxy/tasks/setup_uninstall.yml View File

@@ -2,7 +2,7 @@

- name: Check existence of matrix-mautrix-wsproxy service
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy.service"
register: matrix_mautrix_wsproxy_service_stat

- name: Ensure matrix-mautrix-wsproxy is stopped
@@ -14,7 +14,7 @@

- name: Ensure matrix-mautrix-wsproxy.service doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy.service"
state: absent
when: "matrix_mautrix_wsproxy_service_stat.stat.exists"

@@ -25,7 +25,7 @@

- name: Check existence of matrix-mautrix-wsproxy-syncproxy service
ansible.builtin.stat:
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service"
register: matrix_mautrix_wsproxy_syncproxy_service_stat

- name: Ensure matrix-mautrix-wsproxy-syncproxy is stopped
@@ -37,7 +37,7 @@

- name: Ensure matrix-mautrix-wsproxy-syncproxy.service doesn't exist
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service"
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service"
state: absent
when: "matrix_mautrix_wsproxy_syncproxy_service_stat.stat.exists"


roles/matrix-bridge-mautrix-wsproxy/tasks/validate_config.yml → roles/custom/matrix-bridge-mautrix-wsproxy/tasks/validate_config.yml View File


roles/matrix-bridge-mautrix-wsproxy/templates/config.yaml.j2 → roles/custom/matrix-bridge-mautrix-wsproxy/templates/config.yaml.j2 View File


roles/matrix-bridge-mautrix-wsproxy/templates/systemd/matrix-mautrix-wsproxy-syncproxy.service.j2 → roles/custom/matrix-bridge-mautrix-wsproxy/templates/systemd/matrix-mautrix-wsproxy-syncproxy.service.j2 View File


roles/matrix-bridge-mautrix-wsproxy/templates/systemd/matrix-mautrix-wsproxy.service.j2 → roles/custom/matrix-bridge-mautrix-wsproxy/templates/systemd/matrix-mautrix-wsproxy.service.j2 View File


Loading…
Cancel
Save