group_vars: calc debian ip address
This commit is contained in:
parent
a771624793
commit
0fe815ffa2
3 changed files with 14 additions and 12 deletions
|
@ -1,2 +1,13 @@
|
||||||
---
|
---
|
||||||
ansible_python_interpreter: /usr/bin/python3.7
|
ansible_python_interpreter: /usr/bin/python3.7
|
||||||
|
|
||||||
|
dns: 213.133.98.98 8.8.8.8
|
||||||
|
ipv6_subnet: '2a01:4f8:150:926f::'
|
||||||
|
ipv4_subnet: 10.0.0.0
|
||||||
|
|
||||||
|
ipv6: '{{ ipv6_subnet | ipmath(2 * (vm_index +2)+1) }}/127'
|
||||||
|
ipv6route: '{{ ipv6_subnet | ipmath(2 * (vm_index +2)) }}'
|
||||||
|
|
||||||
|
ansible_ssh_host: '{{ ipv4_subnet | ipmath(2 * vm_index +1) }}'
|
||||||
|
ipv4: '{{ ipv4_subnet | ipmath(2 * vm_index +1) }}/31'
|
||||||
|
ipv4route: '{{ ipv4_subnet | ipmath(2 * vm_index) }}'
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
ipv6: 2a01:4f8:150:926f::5/127
|
vm_index: 0
|
||||||
ipv6route: 2a01:4f8:150:926f::4
|
|
||||||
ipv4: 10.0.0.1/31
|
|
||||||
ipv4route: 10.0.0.0
|
|
||||||
dns: 213.133.98.98 8.8.8.8
|
|
||||||
nginx_acme_mail: "webmaster@ccchb.de"
|
nginx_acme_mail: "webmaster@ccchb.de"
|
||||||
nextcloud_domain: "cloud.ccchb.de"
|
nextcloud_domain: "cloud.ccchb.de"
|
||||||
php_config:
|
php_config:
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
ansible_ssh_host: 10.0.0.3
|
vm_index: 1
|
||||||
|
|
||||||
ipv6: 2a01:4f8:150:926f::7/127
|
|
||||||
ipv6route: 2a01:4f8:150:926f::6
|
|
||||||
ipv4: 10.0.0.3/31
|
|
||||||
ipv4route: 10.0.0.2
|
|
||||||
dns: 213.133.98.98 8.8.8.8
|
|
||||||
|
|
||||||
user_mgmt:
|
user_mgmt:
|
||||||
crest:
|
crest:
|
||||||
|
|
Loading…
Reference in a new issue