mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
7469784de1
commit
98fd21869f
1 changed files with 9 additions and 9 deletions
|
@ -29,6 +29,15 @@
|
||||||
path: /usr/lib/iiab
|
path: /usr/lib/iiab
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: Save openvpn_handle variable into /etc/iiab/openvpn_handle (BACKS UP FILE IF CHANGED)
|
||||||
|
template:
|
||||||
|
src: openvpn_handle.j2
|
||||||
|
dest: /etc/iiab/openvpn_handle
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
backup: yes
|
||||||
|
|
||||||
- name: Configure OpenVPN
|
- name: Configure OpenVPN
|
||||||
template:
|
template:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
|
@ -52,15 +61,6 @@
|
||||||
- { src: 'iiab-remote-on', dest: '/usr/bin/iiab-remote-on', mode: '0755' }
|
- { src: 'iiab-remote-on', 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' }
|
||||||
|
|
||||||
- name: Save openvpn_handle variable into /etc/iiab/openvpn_handle (BACKS UP FILE IF CHANGED)
|
|
||||||
template:
|
|
||||||
src: openvpn_handle.j2
|
|
||||||
dest: /etc/iiab/openvpn_handle
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0644
|
|
||||||
backup: yes
|
|
||||||
|
|
||||||
- name: Put up_wan in place (debuntu)
|
- name: Put up_wan in place (debuntu)
|
||||||
template:
|
template:
|
||||||
src: up_wan
|
src: up_wan
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue