update..
This commit is contained in:
@ -935,6 +935,49 @@
|
||||
- bigbluebutton_service_ipv6_present is changed
|
||||
|
||||
|
||||
# ---
|
||||
# Allow Outbound Streamin / Echo360 Video Streaming
|
||||
# ---
|
||||
|
||||
- name: Check if String 'allow_outbound_streaming..' (IPv4) is present
|
||||
shell: grep -q -E "^allow_outbound_streaming=" /etc/ipt-firewall/main_ipv4.conf
|
||||
register: allow_outbound_streaming_ipv4_present
|
||||
when: main_ipv4_exists.stat.exists
|
||||
failed_when: "allow_outbound_streaming_ipv4_present.rc > 1"
|
||||
changed_when: "allow_outbound_streaming_ipv4_present.rc > 0"
|
||||
|
||||
- name: Adjust file '/etc/ipt-firewall/main_ipv4.conf' (allow_outbound_streaming)
|
||||
blockinfile:
|
||||
path: /etc/ipt-firewall/main_ipv4.conf
|
||||
insertafter: '^#?\s*allow_mumble_request_out'
|
||||
block: |
|
||||
allow_outbound_streaming=true
|
||||
allow_echo360_video_streaming=true
|
||||
marker: "# Marker set by modify-ipt-gateway.yml (allow_outbound_streaming)"
|
||||
when:
|
||||
- main_ipv4_exists.stat.exists
|
||||
- allow_outbound_streaming_ipv4_present is changed
|
||||
|
||||
- name: Check if String 'allow_outbound_streaming..' (IPv6) is present
|
||||
shell: grep -q -E "^allow_outbound_streaming=" /etc/ipt-firewall/main_ipv6.conf
|
||||
register: allow_outbound_streaming_ipv6_present
|
||||
when: main_ipv6_exists.stat.exists
|
||||
failed_when: "allow_outbound_streaming_ipv6_present.rc > 1"
|
||||
changed_when: "allow_outbound_streaming_ipv6_present.rc > 0"
|
||||
|
||||
- name: Adjust file '/etc/ipt-firewall/main_ipv6.conf' (allow_outbound_streaming)
|
||||
blockinfile:
|
||||
path: /etc/ipt-firewall/main_ipv6.conf
|
||||
insertafter: '^#?\s*allow_mumble_request_out'
|
||||
block: |
|
||||
allow_outbound_streaming=true
|
||||
allow_echo360_video_streaming=true
|
||||
marker: "# Marker set by modify-ipt-gateway.yml (allow_outbound_streaming)"
|
||||
when:
|
||||
- main_ipv6_exists.stat.exists
|
||||
- allow_outbound_streaming_ipv6_present is changed
|
||||
|
||||
|
||||
# ---
|
||||
# Remove Marker set by blockinfile
|
||||
# ---
|
||||
|
Reference in New Issue
Block a user