update...
This commit is contained in:
parent
4b9e71e6fe
commit
302160818e
@ -86,8 +86,6 @@ extra_user:
|
|||||||
# vars used by scripts/install-update-firewall.yml
|
# vars used by scripts/install-update-firewall.yml
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
git_firewall_repository: {}
|
|
||||||
|
|
||||||
|
|
||||||
# ==============================
|
# ==============================
|
||||||
|
|
||||||
|
@ -1,139 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/ansible_dependencies
|
|
||||||
# ---
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/ansible_user
|
|
||||||
# ---
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/basic.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/sshd.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/apt.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
apt_manage_sources_list: false
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/users.yml
|
|
||||||
# ---
|
|
||||||
ssh_keypair_backup_server:
|
|
||||||
- name: backup
|
|
||||||
backup_user: back
|
|
||||||
priv_key_src: root/.ssh/id_rsa.backup.oopen.de
|
|
||||||
priv_key_dest: /root/.ssh/id_rsa
|
|
||||||
pub_key_src: root/.ssh/id_rsa.backup.oopen.de.pub
|
|
||||||
pub_key_dest: /root/.ssh/id_rsa.pub
|
|
||||||
|
|
||||||
insert_root_ssh_keypair: true
|
|
||||||
|
|
||||||
root_ssh_keypair:
|
|
||||||
- name: backup
|
|
||||||
login: root
|
|
||||||
priv_key_src: root/.ssh/id_ed25519.oopen-server
|
|
||||||
priv_key_dest: /root/.ssh/id_ed25519
|
|
||||||
pub_key_src: root/.ssh/id_ed25519.oopen-server.pub
|
|
||||||
pub_key_dest: /root/.ssh/id_ed25519.pub
|
|
||||||
target: backup.oopen.de
|
|
||||||
|
|
||||||
|
|
||||||
default_user:
|
|
||||||
|
|
||||||
- name: chris
|
|
||||||
password: $6$bSHlaLHC$URSMVq090e/cJ1v55Jh9ws0w5WekhO7X3Y0RqryAl5R76K9khWBegC76Smjastja.xMiD57/LzUUXW7y9NvAL.
|
|
||||||
shell: /bin/bash
|
|
||||||
ssh_keys:
|
|
||||||
- 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5IhVprsvVOcFPbZzD9xR0nCjZ/9qVG6RhLJ7QBSts81nRvLwnmvcMBHSf5Rfaigey7Ff5dLHfJnxRE0KDATn6n2yd/5mXpn2GAA8hDVfhdsmsb5U7bROjZNr8MmIUrP7c3msUGx1FtvzhwxtyvIWOFQpWx+W5biBa6hFjIxT1pkUJqe6fclp7xbGYKZiqZRBS4qKG5CpKnisuOYDsqYPND+OkU+PShoxGVzp1JywIVze7qeKv6GyYbRA9SP9Np+5Mit6B21Io4zOI81c2Rz6sPX7mwEAQEs7iCm2hzG8qJws45Lb4ERqDkVEVhGNUyHjHgGebS1sZx1mLExdurXlPm1l/EamkncDFDCutHXtLP7lsFFiym7fKUjSEgiiLmyu5Xm+mwZvesKa1FYNaeiFWfYZpCJrNzIk+ffs+mgg3kmL4Sd4Ooy7jXPX+WJe5Xyh1KLU/+Wj2TVrhN+LbmupYAti/Wgd3DA1v601svmG82aLmyJRtKC0rGMePH3kDbtqU72kYpzI8mXERe1TIQ00Z77kQBR/7BF/9y5/0YmYDcXt1wNCoSie+mzz3xYcEdLAc7T+DhYpd4M6VgWnuz/exzRzhQwoSdEKkEED8CpEoBrEWEiMdrlElGmlkVomLU7P9i9j1rshX/pAq0asnqeSoPdC3vNbU3keiJQnhIHECvw== chris@luna'
|
|
||||||
- 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCyWbdnjnN/xfy1F6kPbsRXp8zvJEh8uHfTZuZKyaRV/iRuhsvqRiDB+AhUAlIaPwgQ8itaI6t5hijD+sZf+2oXXbNy3hkOHTrCDKCoVAWfMRKPuA1m8RqS4ZXXgayaeCzVnPEq6UrC5z0wO/XBwAktT37RRSQ/Hq2zCHy36NQEQYrhF3+ytX7ayb10pJAMVGRctYmr5YnLEVMSIREbPxZTNc80H1zqNPVJwYZhl8Ox61U4MoNhJmJwbKWPRPZsJpbTh9W2EU37tdwRBVQP6yxhua3TR6C7JnNPVY0IK23BYlNtQEDY4PHcIuewkamEWpP0+jhEjtwy1TqjRPdU/y+2uQjC6FSOVMsSPxgd8mw4cSsfp+Ard7P+YOevUXD81+jFZ3Wz0PRXbWMWAm2OCe7n8jVvkXMz+KxSYtrsvKNw1WugJq1z//bJNMTK6ISWpqaXDevGYQRJJ8dPbMmbey40WpS5CA/l29P7fj/cOl59w3LZGshrMOm7lVz9qysVV0ylfE3OpfKCGitkpY0Asw4lSkuLHoNZnDo6I5/ulRuKi6gsLk27LO5LYS8Zm1VOis/qHk1Gg1+QY47C4RzdTUxlU1CGesPIiQ1uUX2Z4bD7ebTrrOuEFcmNs3Wu5nif21Qq0ELEWhWby6ChFrbFHPn+hWlDwNM0Nr11ftwg0+sqVw== root@luna'
|
|
||||||
|
|
||||||
- name: sysadm
|
|
||||||
|
|
||||||
user_id: 1050
|
|
||||||
group_id: 1050
|
|
||||||
group: sysadm
|
|
||||||
password: $6$EEVWxA5E$bNxU8EOp/tTcYVghFharUM10k3vRt2siEnIiiznfGmhMSM6zJTP0umdxql9VVEj856oKa.Sp.q3N2nthgNMeN1
|
|
||||||
shell: /bin/bash
|
|
||||||
ssh_keys:
|
|
||||||
- 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5IhVprsvVOcFPbZzD9xR0nCjZ/9qVG6RhLJ7QBSts81nRvLwnmvcMBHSf5Rfaigey7Ff5dLHfJnxRE0KDATn6n2yd/5mXpn2GAA8hDVfhdsmsb5U7bROjZNr8MmIUrP7c3msUGx1Ftvzh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5CA/l29P7fj/cOl59w3LZGshrMOm7lVz9qysVV0ylfE3OpfKCGitkpY0Asw4lSkuLHoNZnDo6I5/ulRuKi6gsLk27LO5LYS8Zm1VOis/qHk1Gg1+QY47C4RzdTUxlU1CGesPIiQ1uUX2Z4bD7ebTrrOuEFcmNs3Wu5nif21Qq0ELEWhWby6ChFrbFHPn+hWlDwNM0Nr11ftwg0+sqVw== root@luna'
|
|
||||||
|
|
||||||
- name: localadmin
|
|
||||||
user_id: 1051
|
|
||||||
group_id: 1051
|
|
||||||
password: $6$flo5afeu$1Dn/tqIOJIFQbymCzpJk9BgGflQdy2Eg0nTiMBF7VefN7uY/Md1pV2yU0S47kZuH5aDjSdPfKzhHp8Aul/xx90
|
|
||||||
shell: /bin/bash
|
|
||||||
ssh_keys:
|
|
||||||
- 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5IhVprsvVOcFPbZzD9xR0nCjZ/9qVG6RhLJ7QBSts81nRvLwnmvcMBHSf5Rfaigey7Ff5dLHfJnxRE0KDATn6n2yd/5mXpn2GAA8hDVfhdsmsb5U7bROjZNr8MmIUrP7c3msUGx1FtvzhwxtyvIWOFQpWx+W5biBa6hFjIxT1pkUJqe6fclp7xbGYKZiqZRBS4qKG5CpKnisuOYDsqYPND+OkU+PShoxGVzp1JywIVze7qeKv6GyYbRA9SP9Np+5Mit6B21Io4zOI81c2Rz6sPX7mwEAQEs7iCm2hzG8qJws45Lb4ERqDkVEVhGNUyHjHgGebS1sZx1mLExdurXlPm1l/EamkncDFDCutHXtLP7lsFFiym7fKUjSEgiiLmyu5Xm+mwZvesKa1FYNaeiFWfYZpCJrNzIk+ffs+mgg3kmL4Sd4Ooy7jXPX+WJe5Xyh1KLU/+Wj2TVrhN+LbmupYAti/Wgd3DA1v601svmG82aLmyJRtKC0rGMePH3kDbtqU72kYpzI8mXERe1TIQ00Z77kQBR/7BF/9y5/0YmYDcXt1wNCoSie+mzz3xYcEdLAc7T+DhYpd4M6VgWnuz/exz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NCT/B4g4MJV84NvnO+ExCWvGM95Cy5NCTnQfO94/OSkN72R//tIR7Nd/aK7hEj69MoVJZrFy4qzE9KskLhKeUYCqoz86XOQ6Dfag/B2adTeG3r9DEacG3ao/ACZKQChj0X12LEV/PZUHLORqYpWIwMuIx54vhbxarSwlKhoOCv1XQJwo9BTavMhFNsMtZpAJYdvAakRCbf18bDrHyqYYqjAyYOp+L+G+wlSh3tz0qQL8aAnaV3RPN0fDd7Zu1dpMGAM2gMnBEMJ+k82V7EtACp1jf37LW11Lbv2o+dRUJEgsrU9TNGxaGSTWqGc65TuP9PUfDXq1ZNOPQWSK/KseqB0WUx6ePfZzkgkr7kGXT/d9hUSCq2+iprhfwQpYLcXE9XtCdo1aivIKQ8zCuR44q11HePyNtEMaJfq33p4uDTVOy7UOtuACzSbk6vs7h6h8CUGPwU9aw+PRiWY4Jdm0caJ8trFfH1R8XaIe3SaUEw== t@NB-003258-RLS'
|
|
||||||
|
|
||||||
- name: back
|
|
||||||
user_id: 1060
|
|
||||||
group_id: 1060
|
|
||||||
group: back
|
|
||||||
password: $6$GntX81EP$O1GEmQF.BbOQfTMMw/m/BDKSXmANVpqmz0nyzw4O4R2/iK9huGOAjT/2eq8FVdMghvNOvdwrWtwohO.Mg4V9n.
|
|
||||||
shell: /bin/bash
|
|
||||||
ssh_keys:
|
|
||||||
- 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5IhVprsvVOcFPbZzD9xR0nCjZ/9qVG6RhLJ7QBSts81nRvLwnmvcMBHSf5Rfaigey7Ff5dLHfJnxRE0KDATn6n2yd/5mXpn2GAA8hDVfhdsmsb5U7bROjZNr8MmIUrP7c3msUGx1FtvzhwxtyvIWOFQpWx+W5biBa6hFjIxT1pkUJqe6fclp7xbGYKZiqZRBS4qKG5CpKnisuOYDsqYPND+OkU+PShoxGVzp1JywIVze7qeKv6GyYbRA9SP9Np+5Mit6B21Io4zOI81c2Rz6sPX7mwEAQEs7iCm2hzG8qJws45Lb4ERqDkVEVhGNUyHjHgGebS1sZx1mLExdurXlPm1l/EamkncDFDCutHXtLP7lsFFiym7fKUjSEgiiLmyu5Xm+mwZvesKa1FYNaeiFWfYZpCJrNzIk+ffs+mgg3kmL4Sd4Ooy7jXPX+WJe5Xyh1KLU/+Wj2TVrhN+LbmupYAti/Wgd3DA1v601svmG82aLmyJRtKC0rGMePH3kDbtqU72kYpzI8mXERe1TIQ00Z77kQBR/7BF/9y5/0YmYDcXt1wNCoSie+mzz3xYcEdLAc7T+DhYpd4M6VgWnuz/exzRzhQwoSdEKkEED8CpEoBrEWEiMdrlElGmlkVomLU7P9i9j1rshX/pAq0asnqeSoPdC3vNbU3keiJQnhIHECvw== chris@luna'
|
|
||||||
|
|
||||||
sudo_users:
|
|
||||||
- chris
|
|
||||||
- sysadm
|
|
||||||
- localadmin
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/users-systemfiles.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/webadmin-user.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/sudoers.yml
|
|
||||||
# ---
|
|
||||||
#
|
|
||||||
# see: roles/common/tasks/vars
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/caching-nameserver.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by roles/common/tasks/git.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
git_firewall_repository:
|
|
||||||
name: ipt-server
|
|
||||||
repo: https://git.oopen.de/firewall/ipt-server
|
|
||||||
dest: /usr/local/src/ipt-server
|
|
||||||
|
|
||||||
# ==============================
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
|
||||||
# vars used by scripts/reset_root_passwd.yml
|
|
||||||
# ---
|
|
||||||
|
|
||||||
root_user:
|
|
||||||
name: root
|
|
||||||
password: $6$J1ssJfdshf/$mknQEPDcW4HN5.wFfawbamamywI7F7fhdZmaR1abNrc4DA7DNRx766lz3ygf9YV3gcmRq3QhJ3fBVlkwGMCvq.
|
|
||||||
|
|
18
hosts
18
hosts
@ -85,7 +85,7 @@ d.mx.oopen.de
|
|||||||
o15.oopen.de
|
o15.oopen.de
|
||||||
b.mx.oopen.de
|
b.mx.oopen.de
|
||||||
piwik.oopen.de
|
piwik.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
|
|
||||||
o17.oopen.de
|
o17.oopen.de
|
||||||
@ -271,7 +271,7 @@ d.mx.oopen.de
|
|||||||
o15.oopen.de
|
o15.oopen.de
|
||||||
b.mx.oopen.de
|
b.mx.oopen.de
|
||||||
piwik.oopen.de
|
piwik.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
|
|
||||||
o17.oopen.de
|
o17.oopen.de
|
||||||
@ -410,7 +410,7 @@ a.mx.oopen.de
|
|||||||
d.mx.oopen.de
|
d.mx.oopen.de
|
||||||
|
|
||||||
# o15.oopen.de
|
# o15.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
piwik.oopen.de
|
piwik.oopen.de
|
||||||
|
|
||||||
@ -604,7 +604,7 @@ initiativenserver.oopen.de
|
|||||||
o13-web.oopen.de
|
o13-web.oopen.de
|
||||||
|
|
||||||
# o15.oopen.de
|
# o15.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
|
|
||||||
# o21.oopen.de
|
# o21.oopen.de
|
||||||
@ -657,7 +657,7 @@ d.mx.oopen.de
|
|||||||
|
|
||||||
# o15.oopen.de
|
# o15.oopen.de
|
||||||
b.mx.oopen.de
|
b.mx.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
|
|
||||||
# o17.oopen.de
|
# o17.oopen.de
|
||||||
test.mx.oopen.de
|
test.mx.oopen.de
|
||||||
@ -712,7 +712,7 @@ a.mx.oopen.de
|
|||||||
|
|
||||||
# o15.oopen.de
|
# o15.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
|
|
||||||
# o25.oopen.de
|
# o25.oopen.de
|
||||||
mail.faire-mobilitaet.de
|
mail.faire-mobilitaet.de
|
||||||
@ -762,7 +762,7 @@ d.mx.oopen.de
|
|||||||
|
|
||||||
# o15.oopen.de
|
# o15.oopen.de
|
||||||
piwik.oopen.de
|
piwik.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
|
|
||||||
# o17.oopen.de
|
# o17.oopen.de
|
||||||
@ -1065,7 +1065,7 @@ d.mx.oopen.de
|
|||||||
# - o15.oopen.de
|
# - o15.oopen.de
|
||||||
b.mx.oopen.de
|
b.mx.oopen.de
|
||||||
piwik.oopen.de
|
piwik.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
|
|
||||||
# - o17.oopen.de
|
# - o17.oopen.de
|
||||||
@ -1234,7 +1234,7 @@ d.mx.oopen.de
|
|||||||
o15.oopen.de
|
o15.oopen.de
|
||||||
b.mx.oopen.de
|
b.mx.oopen.de
|
||||||
piwik.oopen.de
|
piwik.oopen.de
|
||||||
www-01.oopen.de
|
web-01.oopen.de
|
||||||
web-03.oopen.de
|
web-03.oopen.de
|
||||||
|
|
||||||
# - o17.oopen.de
|
# - o17.oopen.de
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
# Install/Uodate git firewall repository
|
# Install/Uodate git firewall repository
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
|
- meta: end_play
|
||||||
|
when: git_firewall_repository is not defined or git_firewall_repository|length < 1
|
||||||
|
|
||||||
|
|
||||||
- name: Install/update firewall repository
|
- name: Install/update firewall repository
|
||||||
git:
|
git:
|
||||||
repo: '{{ git_firewall_repository.repo }}'
|
repo: '{{ git_firewall_repository.repo }}'
|
||||||
@ -18,12 +22,12 @@
|
|||||||
- name: Check if file '/etc/ipt-firewall/main_ipv6.conf' exists
|
- name: Check if file '/etc/ipt-firewall/main_ipv6.conf' exists
|
||||||
stat:
|
stat:
|
||||||
path: /etc/ipt-firewall/main_ipv6.conf
|
path: /etc/ipt-firewall/main_ipv6.conf
|
||||||
register: main_ipv4_exists
|
register: main_ipv6_exists
|
||||||
|
|
||||||
- name: Check if file '/etc/ipt-firewall/main_ipv4.conf' exists
|
- name: Check if file '/etc/ipt-firewall/main_ipv4.conf' exists
|
||||||
stat:
|
stat:
|
||||||
path: /etc/ipt-firewall/main_ipv4.conf
|
path: /etc/ipt-firewall/main_ipv4.conf
|
||||||
register: main_ipv6_exists
|
register: main_ipv4_exists
|
||||||
|
|
||||||
- name: Check if file '/etc/munin/munin-node.conf' exists
|
- name: Check if file '/etc/munin/munin-node.conf' exists
|
||||||
stat:
|
stat:
|
||||||
@ -81,6 +85,8 @@
|
|||||||
path: /etc/ipt-firewall/main_ipv4.conf
|
path: /etc/ipt-firewall/main_ipv4.conf
|
||||||
regexp: '^dovecot_auth_port='
|
regexp: '^dovecot_auth_port='
|
||||||
line: 'dovecot_auth_port="$dovecot_external_auth_port"'
|
line: 'dovecot_auth_port="$dovecot_external_auth_port"'
|
||||||
|
when:
|
||||||
|
- main_ipv4_exists.stat.exists
|
||||||
|
|
||||||
- name: addjust line 'dovecot_auth_port' (IPv6)
|
- name: addjust line 'dovecot_auth_port' (IPv6)
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -95,6 +101,8 @@
|
|||||||
path: /etc/ipt-firewall/main_ipv4.conf
|
path: /etc/ipt-firewall/main_ipv4.conf
|
||||||
regexp: '^jitsi_tcp_ports='
|
regexp: '^jitsi_tcp_ports='
|
||||||
line: 'jitsi_tcp_ports="$standard_jitsi_tcp_ports"'
|
line: 'jitsi_tcp_ports="$standard_jitsi_tcp_ports"'
|
||||||
|
when:
|
||||||
|
- main_ipv4_exists.stat.exists
|
||||||
|
|
||||||
- name: addjust line 'jitsi_tcp_ports' (IPv6)
|
- name: addjust line 'jitsi_tcp_ports' (IPv6)
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -109,6 +117,8 @@
|
|||||||
path: /etc/ipt-firewall/main_ipv4.conf
|
path: /etc/ipt-firewall/main_ipv4.conf
|
||||||
regexp: '^jitsi_udp_port_range='
|
regexp: '^jitsi_udp_port_range='
|
||||||
line: 'jitsi_udp_port_range="$standard_jitsi_udp_port_range"'
|
line: 'jitsi_udp_port_range="$standard_jitsi_udp_port_range"'
|
||||||
|
when:
|
||||||
|
- main_ipv4_exists.stat.exists
|
||||||
|
|
||||||
- name: addjust line 'jitsi_udp_ports' (IPv6)
|
- name: addjust line 'jitsi_udp_ports' (IPv6)
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -123,6 +133,8 @@
|
|||||||
path: /etc/ipt-firewall/main_ipv4.conf
|
path: /etc/ipt-firewall/main_ipv4.conf
|
||||||
regexp: '^jitsi_dovecot_port='
|
regexp: '^jitsi_dovecot_port='
|
||||||
line: 'jitsi_dovecot_port="$default_jitsi_dovecout_auth_port"'
|
line: 'jitsi_dovecot_port="$default_jitsi_dovecout_auth_port"'
|
||||||
|
when:
|
||||||
|
- main_ipv4_exists.stat.exists
|
||||||
|
|
||||||
- name: addjust line 'jitsi_dovecot_port' (IPv6)
|
- name: addjust line 'jitsi_dovecot_port' (IPv6)
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -137,6 +149,8 @@
|
|||||||
path: /etc/ipt-firewall/main_ipv4.conf
|
path: /etc/ipt-firewall/main_ipv4.conf
|
||||||
regexp: '^nc_turn_ports='
|
regexp: '^nc_turn_ports='
|
||||||
line: 'nc_turn_ports="$standard_turn_service_ports"'
|
line: 'nc_turn_ports="$standard_turn_service_ports"'
|
||||||
|
when:
|
||||||
|
- main_ipv4_exists.stat.exists
|
||||||
|
|
||||||
- name: addjust line 'nc_turn_ports' (IPv6)
|
- name: addjust line 'nc_turn_ports' (IPv6)
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -725,7 +739,7 @@
|
|||||||
failed_when: "jitsi_jibri_remote_auth_ipv4_present.rc > 1"
|
failed_when: "jitsi_jibri_remote_auth_ipv4_present.rc > 1"
|
||||||
changed_when: "jitsi_jibri_remote_auth_ipv4_present.rc > 0"
|
changed_when: "jitsi_jibri_remote_auth_ipv4_present.rc > 0"
|
||||||
|
|
||||||
- name: Adjust file '/etc/ipt-firewall/main_ipv4.conf' (jitsi dovecot auth)
|
- name: Adjust file '/etc/ipt-firewall/main_ipv4.conf' (jibri streamin/recording)
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/ipt-firewall/main_ipv4.conf
|
path: /etc/ipt-firewall/main_ipv4.conf
|
||||||
insertafter: '^#?\s*jitsi_dovecot_port'
|
insertafter: '^#?\s*jitsi_dovecot_port'
|
||||||
@ -751,7 +765,7 @@
|
|||||||
forward_jibri_server_ips=""
|
forward_jibri_server_ips=""
|
||||||
jibri_remote_jitsi_server=""
|
jibri_remote_jitsi_server=""
|
||||||
jibri_remote_auth_port="$default_jibri_out_port"
|
jibri_remote_auth_port="$default_jibri_out_port"
|
||||||
marker: "# Marker set by modify-ipt-server.yml (jitsi dovecot auth)"
|
marker: "# Marker set by modify-ipt-server.yml (jibri streamin/recording)"
|
||||||
when:
|
when:
|
||||||
- main_ipv4_exists.stat.exists
|
- main_ipv4_exists.stat.exists
|
||||||
- jitsi_jibri_remote_auth_ipv4_present is changed
|
- jitsi_jibri_remote_auth_ipv4_present is changed
|
||||||
@ -759,21 +773,37 @@
|
|||||||
- name: Check if String 'jitsi_jibri_remote_auth=..' (IPv6) is present
|
- name: Check if String 'jitsi_jibri_remote_auth=..' (IPv6) is present
|
||||||
shell: grep -q -E "^jitsi_jibri_remote_auth=" /etc/ipt-firewall/main_ipv6.conf
|
shell: grep -q -E "^jitsi_jibri_remote_auth=" /etc/ipt-firewall/main_ipv6.conf
|
||||||
register: jitsi_jibri_remote_auth_ipv6_present
|
register: jitsi_jibri_remote_auth_ipv6_present
|
||||||
when: main_ipv4_exists.stat.exists
|
when: main_ipv6_exists.stat.exists
|
||||||
failed_when: "jitsi_jibri_remote_auth_ipv6_present.rc > 1"
|
failed_when: "jitsi_jibri_remote_auth_ipv6_present.rc > 1"
|
||||||
changed_when: "jitsi_jibri_remote_auth_ipv6_present.rc > 0"
|
changed_when: "jitsi_jibri_remote_auth_ipv6_present.rc > 0"
|
||||||
|
|
||||||
- name: Adjust file '/etc/ipt-firewall/main_ipv6.conf' (jitsi dovecot auth)
|
- name: Adjust file '/etc/ipt-firewall/main_ipv6.conf' (jibri streamin/recording)
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/ipt-firewall/main_ipv6.conf
|
path: /etc/ipt-firewall/main_ipv6.conf
|
||||||
insertafter: '^#?\s*jitsi_dovecot_port'
|
insertafter: '^#?\s*jitsi_dovecot_port'
|
||||||
block: |
|
block: |
|
||||||
# - Jitsi Dovecot Authentication
|
# - Jibri extern Client Recording / Streamin
|
||||||
# -
|
# -
|
||||||
jitsi_dovecot_auth=false
|
jitsi_jibri_remote_auth=false
|
||||||
jitsi_dovecot_host=""
|
# - Remote Jibri servers
|
||||||
jitsi_dovecot_port="$default_jitsi_dovecout_auth_port"
|
# -
|
||||||
marker: "# Marker set by modify-ipt-server.yml (jitsi dovecot auth)"
|
# - colon separated list of ipv6 addresses
|
||||||
|
# -
|
||||||
|
jitsi_jibri_remote_ips=""
|
||||||
|
jitsi_jibri_remote_auth_port="$default_jibri_out_port"
|
||||||
|
|
||||||
|
|
||||||
|
# - Jibri Recording / Streaming Service
|
||||||
|
# -
|
||||||
|
# - colon separated list of ipv6 addresses
|
||||||
|
# -
|
||||||
|
jibri_server_ips=""
|
||||||
|
# - colon separated list of ipv6 addresses
|
||||||
|
# -
|
||||||
|
forward_jibri_server_ips=""
|
||||||
|
jibri_remote_jitsi_server=""
|
||||||
|
jibri_remote_auth_port="$default_jibri_out_port"
|
||||||
|
marker: "# Marker set by modify-ipt-server.yml (jibri streamin/recording)"
|
||||||
when:
|
when:
|
||||||
- main_ipv6_exists.stat.exists
|
- main_ipv6_exists.stat.exists
|
||||||
- jitsi_jibri_remote_auth_ipv6_present is changed
|
- jitsi_jibri_remote_auth_ipv6_present is changed
|
||||||
@ -936,7 +966,8 @@
|
|||||||
# 1 -> changed
|
# 1 -> changed
|
||||||
# 2 -> not present
|
# 2 -> not present
|
||||||
failed_when: "diff_script_output.rc > 2"
|
failed_when: "diff_script_output.rc > 2"
|
||||||
when: git_firewall_repository is defined and git_firewall_repository > 0
|
when:
|
||||||
|
- git_firewall_repository is defined and git_firewall_repository|length > 0
|
||||||
loop:
|
loop:
|
||||||
- default_ports.conf
|
- default_ports.conf
|
||||||
- include_functions.conf
|
- include_functions.conf
|
||||||
@ -958,7 +989,7 @@
|
|||||||
- logging_ipv6.conf
|
- logging_ipv6.conf
|
||||||
- post_decalrations.conf
|
- post_decalrations.conf
|
||||||
when:
|
when:
|
||||||
- git_firewall_repository is defined and git_firewall_repository > 0
|
- git_firewall_repository is defined and git_firewall_repository|length > 0
|
||||||
- diff_script_output.changed
|
- diff_script_output.changed
|
||||||
notify:
|
notify:
|
||||||
- Restart IPv4 Firewall
|
- Restart IPv4 Firewall
|
||||||
@ -976,7 +1007,8 @@
|
|||||||
# 1 -> changed
|
# 1 -> changed
|
||||||
# 2 -> not present
|
# 2 -> not present
|
||||||
failed_when: "diff_script_output.rc > 2"
|
failed_when: "diff_script_output.rc > 2"
|
||||||
when: git_firewall_repository is defined and git_firewall_repository > 0
|
when:
|
||||||
|
- git_firewall_repository is defined and git_firewall_repository|length > 0
|
||||||
loop:
|
loop:
|
||||||
- ipt-firewall-server
|
- ipt-firewall-server
|
||||||
- ip6t-firewall-server
|
- ip6t-firewall-server
|
||||||
@ -988,7 +1020,7 @@
|
|||||||
- ipt-firewall-server
|
- ipt-firewall-server
|
||||||
- ip6t-firewall-server
|
- ip6t-firewall-server
|
||||||
when:
|
when:
|
||||||
- git_firewall_repository is defined and git_firewall_repository > 0
|
- git_firewall_repository is defined and git_firewall_repository|length > 0
|
||||||
- diff_script_output.changed
|
- diff_script_output.changed
|
||||||
notify:
|
notify:
|
||||||
- Restart IPv4 Firewall
|
- Restart IPv4 Firewall
|
||||||
|
Loading…
Reference in New Issue
Block a user