forked from Stouts/Stouts.openvpn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual merge from ns-cert-type-deprecated
- Loading branch information
Showing
14 changed files
with
98 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
--- | ||
|
||
- name: Setup up script | ||
when: openvpn_bridge | bool | ||
template: | ||
src: bridge/up.sh.j2 | ||
dest: "{{ openvpn_scripts_dir }}/up.sh" | ||
mode: o+x | ||
- block: | ||
- name: Setup up script | ||
template: | ||
src: bridge/up.sh.j2 | ||
dest: "{{ openvpn_scripts_dir }}/up.sh" | ||
mode: o+x | ||
|
||
- name: Setup down script | ||
template: | ||
src: bridge/down.sh.j2 | ||
dest: "{{ openvpn_scripts_dir }}/down.sh" | ||
mode: o+x | ||
when: openvpn_bridge | bool | ||
- name: Setup down script | ||
template: | ||
src: bridge/down.sh.j2 | ||
dest: "{{ openvpn_scripts_dir }}/down.sh" | ||
mode: o+x | ||
|
||
- name: Setup bridge | ||
template: | ||
src: bridge/bridge-interface.rh.j2 | ||
dest: "/etc/sysconfig/network-scripts/ifcfg-br-{{ openvpn_dev }}" | ||
when: openvpn_bridge | bool | ||
- name: Setup bridge | ||
template: | ||
src: bridge/bridge-interface.rh.j2 | ||
dest: "/etc/sysconfig/network-scripts/ifcfg-br-{{ openvpn_dev }}" | ||
when: | ||
- openvpn_bridge is defined | ||
- openvpn_bridge | length > 0 | ||
notify: restart networking redhat | ||
|
||
- name: Remove interface configuration for "{{ openvpn_dev }}" | ||
file: | ||
path: "/etc/sysconfig/network-scripts/ifcfg-br-{{ openvpn_dev }}" | ||
state: absent | ||
when: not openvpn_bridge | bool | ||
when: openvpn_bridge is not defined or openvpn_bridge | length == 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
|
||
- name: openvpn.date | ||
type: date | ||
- name: openvpn.client_ip | ||
type: ip | ||
- name: openvpn.common_name | ||
type: keyword | ||
- name: openvpn.event | ||
type: keyword | ||
- name: openvpn.port | ||
type: long |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters