mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
ansible smoke test ok, server does not run --- missing wrtc
This commit is contained in:
parent
a026cc60cb
commit
8c1188f1d3
3 changed files with 11 additions and 3 deletions
|
@ -13,6 +13,13 @@
|
|||
depth: 1
|
||||
when: internet_available
|
||||
|
||||
- name: Install packages needed by Distributed Web
|
||||
package:
|
||||
name:
|
||||
- libsecret-1-dev
|
||||
- cmake
|
||||
state: present
|
||||
|
||||
- name: Run 'npm install --allow-root --unsafe-perm=true' to create /opt/iiab/archorg/node_modules (CAN TAKE ~5 MINUTES)
|
||||
command: npm install --allow-root --unsafe-perm=true
|
||||
args:
|
||||
|
@ -30,8 +37,8 @@
|
|||
owner: root
|
||||
group: root
|
||||
with_items:
|
||||
- { src: 'archorg.service', dest: '/etc/systemd/system/archorg.service' }
|
||||
- { src: 'archorg.conf.j2', dest: '/etc/apache2/sites-available/archorg.conf' }
|
||||
- { src: 'archorg.service.j2', dest: '/etc/systemd/system/archorg.service' }
|
||||
- { src: 'archorg.conf', dest: '/etc/apache2/sites-available/archorg.conf' }
|
||||
|
||||
|
||||
- name: Create symlink archorg.conf from sites-enabled to sites-available, for short URLs http://box/sugar & http://box/archorg (if archorg_enabled)
|
||||
|
|
|
@ -11,7 +11,6 @@ RestartSec=10
|
|||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=archorg
|
||||
ExecStart={{ magrit_venv }}/bin/python3.5 {{ magrit_venv }}/magrit_app/app,py --port {{ magrit_port }} --address {{ lan_ip }}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -63,6 +63,7 @@ cups_port={{ cups_port }}
|
|||
transmission_http_port={{ transmission_http_port }}
|
||||
transmission_peer_port={{ transmission_peer_port }}
|
||||
sugarizer_port={{ sugarizer_port }}
|
||||
archorg_port={{ archorg_port }}
|
||||
nodered_port={{ nodered_port }}
|
||||
mosquitto_port={{ mosquitto_port }}
|
||||
minetest_port={{ minetest_port }}
|
||||
|
@ -105,6 +106,7 @@ if [ "$services_externally_visible" == "True" ]; then
|
|||
$IPTABLES -A INPUT -p tcp --dport $calibreweb_port -m state --state NEW -i $wan -j ACCEPT
|
||||
$IPTABLES -A INPUT -p tcp --dport $cups_port -m state --state NEW -i $wan -j ACCEPT
|
||||
$IPTABLES -A INPUT -p tcp --dport $sugarizer_port -m state --state NEW -i $wan -j ACCEPT
|
||||
$IPTABLES -A INPUT -p tcp --dport $archorg_port -m state --state NEW -i $wan -j ACCEPT
|
||||
$IPTABLES -A INPUT -p tcp --dport $nodered_port -m state --state NEW -i $wan -j ACCEPT
|
||||
$IPTABLES -A INPUT -p tcp --dport $mosquitto_port -m state --state NEW -i $wan -j ACCEPT
|
||||
$IPTABLES -A INPUT -p tcp --dport $transmission_http_port -m state --state NEW -i $wan -j ACCEPT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue