mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Put /usr/bin/iiab-support & symlinks into place
This commit is contained in:
parent
dda10ca312
commit
34539a64f7
1 changed files with 22 additions and 10 deletions
|
@ -72,9 +72,10 @@
|
||||||
- { src: 'announcer.j2', dest: '/etc/openvpn/scripts/announcer', mode: '0755' }
|
- { src: 'announcer.j2', dest: '/etc/openvpn/scripts/announcer', mode: '0755' }
|
||||||
- { src: 'silence', dest: '/etc/openvpn/scripts/silence', mode: '0755' }
|
- { src: 'silence', dest: '/etc/openvpn/scripts/silence', mode: '0755' }
|
||||||
- { src: 'xscenet.conf.j2', dest: '/etc/openvpn/xscenet.conf', mode: '0644' }
|
- { src: 'xscenet.conf.j2', dest: '/etc/openvpn/xscenet.conf', mode: '0644' }
|
||||||
|
- { src: 'openvpn_handle.j2', dest: '/etc/iiab/openvpn_handle', mode: '0644' }
|
||||||
|
- { src: 'iiab-support', dest: '/usr/bin/iiab-support', mode: '0755' }
|
||||||
- { src: 'iiab-remote-on.j2', dest: '/usr/bin/iiab-remote-on', mode: '0755' }
|
- { src: 'iiab-remote-on.j2', dest: '/usr/bin/iiab-remote-on', mode: '0755' }
|
||||||
- { src: 'iiab-remote-off', dest: '/usr/bin/iiab-remote-off', mode: '0755' }
|
- { src: 'iiab-remote-off', dest: '/usr/bin/iiab-remote-off', mode: '0755' }
|
||||||
- { src: 'openvpn_handle.j2', dest: '/etc/iiab/openvpn_handle', mode: '0644' }
|
|
||||||
# Comment out in future? Not recommended as of August 2018:
|
# Comment out in future? Not recommended as of August 2018:
|
||||||
- { src: 'iiab-handle.j2', dest: '/usr/bin/iiab-handle', mode: '0755' }
|
- { src: 'iiab-handle.j2', dest: '/usr/bin/iiab-handle', mode: '0755' }
|
||||||
# Obsolete & unused for ~2 years as of August 2018:
|
# Obsolete & unused for ~2 years as of August 2018:
|
||||||
|
@ -86,6 +87,18 @@
|
||||||
# Obsolete & unused for ~2 years as of August 2018:
|
# Obsolete & unused for ~2 years as of August 2018:
|
||||||
#- { src: 'iiab-vpn.j2', dest: '/usr/bin/iiab-vpn', mode: '0755' }
|
#- { src: 'iiab-vpn.j2', dest: '/usr/bin/iiab-vpn', mode: '0755' }
|
||||||
|
|
||||||
|
- name: Create iiab-support-on (symlink to iiab-support for now)
|
||||||
|
file:
|
||||||
|
src: /usr/bin/iiab-support
|
||||||
|
path: /usr/bin/iiab-support-on
|
||||||
|
state: link
|
||||||
|
|
||||||
|
- name: Create iiab-support-off (symlink to iiab-remote-off for now)
|
||||||
|
file:
|
||||||
|
src: /usr/bin/iiab-remote-off
|
||||||
|
path: /usr/bin/iiab-support-off
|
||||||
|
state: link
|
||||||
|
|
||||||
- name: Create iiab-vpn-on (symlink to iiab-remote-on for now)
|
- name: Create iiab-vpn-on (symlink to iiab-remote-on for now)
|
||||||
file:
|
file:
|
||||||
src: /usr/bin/iiab-remote-on
|
src: /usr/bin/iiab-remote-on
|
||||||
|
@ -106,15 +119,14 @@
|
||||||
# dest: /usr/lib/iiab/up_wan
|
# dest: /usr/lib/iiab/up_wan
|
||||||
# when: is_debuntu
|
# when: is_debuntu
|
||||||
|
|
||||||
# Comment out in future? Contained serious bug (15-openvpn called
|
# Contained serious bug (15-openvpn called up-wan instead of up_wan in
|
||||||
# up-wan instead of up_wan in /usr/lib/iiab/ as of August 2018) so
|
# /usr/lib/iiab/ as of August 2018) so evidently unused for ~2 years:
|
||||||
# evidently unused for ~2 years:
|
#- name: Install NM dispatcher.d (for older OS's only, where OpenVPN doesn't auto-start openvpn@xscenet)
|
||||||
- name: Install NM dispatcher.d (for older OS's only, where OpenVPN doesn't auto-start openvpn@xscenet)
|
# template:
|
||||||
template:
|
# src: 15-openvpn
|
||||||
src: 15-openvpn
|
# dest: /etc/NetworkManager/dispatcher.d/
|
||||||
dest: /etc/NetworkManager/dispatcher.d/
|
# #when: not is_debuntu # CONDITION APPEARS TOO BROAD
|
||||||
#when: not is_debuntu # CONDITION APPEARS TOO BROAD
|
# when: False # ADD/ITEMIZE ANY OS'S HERE, WHERE TRULY NEC (e.g. older CentOS, if running older OpenVPN?)
|
||||||
when: False # ADD/ITEMIZE ANY OS'S HERE, WHERE TRULY NEC (e.g. older CentOS, if running older OpenVPN?)
|
|
||||||
|
|
||||||
# Was obsolete/unused for ~2 years as of August 2018: (replaced by /etc/openvpn/xscenet.conf)
|
# Was obsolete/unused for ~2 years as of August 2018: (replaced by /etc/openvpn/xscenet.conf)
|
||||||
#- name: Check for manually configured OpenVPN tunnel
|
#- name: Check for manually configured OpenVPN tunnel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue