Agregué instalación de paquete RPM de signaling

This commit is contained in:
Iván Chavero 2024-05-13 20:37:32 -06:00
parent 3a7ffc8274
commit 41fff7b1e3

View file

@ -10,23 +10,7 @@
name: name:
- certbot - certbot
- openssl - openssl
- nextcloud-spreed-signaling
- name: Install signaling-server
block:
# TODO: Empaquetar signaling y proveerlo en Fedora
- name: Download signaling
get_url:
url: https://repos.libreoffice.gob.mx/signaling/signaling-latest.tar.gz
dest: /usr/src/signaling-latest.tar.gz
checksum: "{{ signaling_checksum }}"
- name: Unpack signaling-server
ansible.builtin.unarchive:
src: /usr/src/signaling-latest.tar.gz
dest: /
remote_src: yes
owner: root
group: root
- name: Generate singaling hashkey and blockkey - name: Generate singaling hashkey and blockkey
block: block:
@ -49,23 +33,6 @@
failed_when: signaling_apikey.stdout | length != 32 failed_when: signaling_apikey.stdout | length != 32
- name: Configure signaling-server - name: Configure signaling-server
block:
- name: Create signaling-server system user
ansible.builtin.user:
name: signaling
system: yes
shell: /sbin/nologin
home: /var/lib/signaling
state: present
- name: Create configuration directory
ansible.builtin.file:
path: /etc/signaling
state: directory
mode: '0750'
owner: root
group: signaling
- name: Setup configuration file - name: Setup configuration file
ansible.builtin.template: ansible.builtin.template:
src: signaling-server.conf.j2 src: signaling-server.conf.j2
@ -75,15 +42,6 @@
mode: '0640' mode: '0640'
notify: Systemd daemon-reload and restart notify: Systemd daemon-reload and restart
- name: Put signaling-server systemd service in place
ansible.builtin.copy:
src: signaling-server.service
dest: /etc/systemd/system/signaling-server.service
owner: root
group: root
mode: '0644'
notify: Systemd daemon-reload and restart
- name: Open up required firewall ports - name: Open up required firewall ports
block: block:
- name: Open up TCP port 80 for LetsEncrypt - name: Open up TCP port 80 for LetsEncrypt