Start the port to ansible of openvpn
This commit is contained in:
parent
0f302056a3
commit
e5ff3b586e
311 changed files with 710 additions and 0 deletions
24
roles/openvpn/base/tasks/main.yml
Normal file
24
roles/openvpn/base/tasks/main.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
# OpenVpn basic configuration
|
||||
|
||||
- name: Install needed package
|
||||
yum: pkg={{ item }} state=installed
|
||||
with_items:
|
||||
- openvpn
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: Install certificate and key
|
||||
file: src={{ item.file }}
|
||||
dest={{ item.location }}/{{ item.dest }}
|
||||
owner=root group=root mode={{ mode }}
|
||||
with_items:
|
||||
- { file: {{ puppet_private }}/vpn/openvpn/keys/ca.crt,
|
||||
dest: /etc/openvpn/ca.crt,
|
||||
mode: 0600 }
|
||||
- { file: {{ puppet_private }}/vpn/openvpn/keys/crl.pem,
|
||||
dest: /etc/openvpn/crl.pem,
|
||||
mode: 0644 }
|
||||
tags:
|
||||
- install
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.3 192.168.0.3
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.4 192.168.0.4
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.5 192.168.0.5
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.6 192.168.0.6
|
2
roles/openvpn/client/files/ccd/app05.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/app05.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.13 192.168.0.13
|
1
roles/openvpn/client/files/ccd/app06.fedoraproject.org
Normal file
1
roles/openvpn/client/files/ccd/app06.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.24 192.168.0.24
|
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.23 192.168.0.23
|
1
roles/openvpn/client/files/ccd/app08.fedoraproject.org
Normal file
1
roles/openvpn/client/files/ccd/app08.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.79 192.168.0.79
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.51 192.168.0.51
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.98 192.168.0.98
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.36 192.168.0.36
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.34 192.168.0.34
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.42 192.168.0.42
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.64 192.168.0.64
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.111 192.168.0.111
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.109 192.168.0.109
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.110 192.168.0.110
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.43 192.168.0.43
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.99 192.168.0.99
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.100 192.168.0.100
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.116 192.168.0.116
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.117 192.168.0.117
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.48 192.168.0.48
|
2
roles/openvpn/client/files/ccd/bu1.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/bu1.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.26 192.168.0.26
|
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.50 192.168.0.50
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.70 192.168.0.70
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.101 192.168.0.101
|
2
roles/openvpn/client/files/ccd/collab1.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/collab1.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.21 192.168.0.21
|
2
roles/openvpn/client/files/ccd/collab2.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/collab2.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.37 192.168.0.37
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.89 192.168.0.89
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.78 192.168.0.78
|
1
roles/openvpn/client/files/ccd/cstore1.fedoraproject.org
Normal file
1
roles/openvpn/client/files/ccd/cstore1.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.50 192.168.0.50
|
1
roles/openvpn/client/files/ccd/cstore2.fedoraproject.org
Normal file
1
roles/openvpn/client/files/ccd/cstore2.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.51 192.168.0.51
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.91 192.168.0.91
|
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.104 192.168.0.104
|
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.105 192.168.0.105
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.92 192.168.0.92
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.18 192.168.0.18
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.55 192.168.0.55
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.71 192.168.0.71
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.72 192.168.0.72
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.97 192.168.0.97
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.87 192.168.0.87
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.132 192.168.0.132
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.84 192.168.0.84
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.85 192.168.0.85
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.86 192.168.0.86
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.44 192.168.0.44
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.47 192.168.0.47
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.100.5 192.168.0.5
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.38 192.168.0.38
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.39 192.168.0.39
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.49 192.168.0.49
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.114 192.168.0.114
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.115 192.168.0.115
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.95 192.168.0.95
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.96 192.168.0.96
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.133 192.168.0.133
|
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.22 192.168.0.22
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.16 192.168.0.16
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.102 192.168.0.102
|
2
roles/openvpn/client/files/ccd/hosted1.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/hosted1.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.17 192.168.0.17
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.40 192.168.0.40
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.65 192.168.0.65
|
|
@ -0,0 +1,3 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.66 192.168.0.66
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.131 192.168.0.131
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.77 192.168.0.77
|
|
@ -0,0 +1,2 @@
|
|||
ifconfig-push 192.168.1.76 192.168.0.76
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.74 192.168.0.74
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.134 192.168.0.134
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.135 192.168.0.135
|
1
roles/openvpn/client/files/ccd/keys01.fedoraproject.org
Normal file
1
roles/openvpn/client/files/ccd/keys01.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.60 192.168.0.60
|
2
roles/openvpn/client/files/ccd/keys02.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/keys02.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.8 192.168.0.8
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.58 192.168.0.58
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.59 192.168.0.59
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.56 192.168.0.56
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.118 192.168.0.118
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.119 192.168.0.119
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.46 192.168.0.46
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.54 192.168.0.54
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.59 192.168.0.59
|
|
@ -0,0 +1,2 @@
|
|||
ifconfig-push 192.168.1.107 192.168.0.107
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
ifconfig-push 192.168.1.106 192.168.0.106
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
ifconfig-push 192.168.1.108 192.168.0.108
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
ifconfig-push 192.168.1.126 192.168.0.126
|
||||
|
1
roles/openvpn/client/files/ccd/mm3test.fedoraproject.org
Normal file
1
roles/openvpn/client/files/ccd/mm3test.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.37 192.168.0.37
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.10 192.168.0.10
|
2
roles/openvpn/client/files/ccd/noc02.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/noc02.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.20 192.168.0.20
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.137 192.168.0.137
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.80 192.168.0.80
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.88 192.168.0.88
|
1
roles/openvpn/client/files/ccd/ns-sb01.fedoraproject.org
Normal file
1
roles/openvpn/client/files/ccd/ns-sb01.fedoraproject.org
Normal file
|
@ -0,0 +1 @@
|
|||
ifconfig-push 192.168.1.46 192.168.0.46
|
2
roles/openvpn/client/files/ccd/ns02.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/ns02.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.45 192.168.0.45
|
2
roles/openvpn/client/files/ccd/ns05.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/ns05.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.57 192.168.0.57
|
2
roles/openvpn/client/files/ccd/ns1.fedoraproject.org
Normal file
2
roles/openvpn/client/files/ccd/ns1.fedoraproject.org
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.44 192.168.0.44
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.112 192.168.0.112
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.113 192.168.0.113
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.93 192.168.0.93
|
|
@ -0,0 +1,2 @@
|
|||
# ifconfig-push actualIP PtPIP
|
||||
ifconfig-push 192.168.1.94 192.168.0.94
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue