41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
[containers]
|
|
dns ansible_lxc_host=dns
|
|
mail ansible_lxc_host=mail
|
|
coffee ansible_lxc_host=coffee
|
|
auth1 ansible_lxc_host=auth1
|
|
outsider ansible_lxc_host=outsider
|
|
|
|
[containers:vars]
|
|
ansible_connection = lxc
|
|
ansible_python_interpreter = python3
|
|
base_domain = csclub.internal
|
|
ldap_base = "{{ base_domain.split('.') | map('regex_replace', '^(.*)$', 'dc=\\1') | join(',') }}"
|
|
krb_realm = "{{ base_domain.upper() }}"
|
|
csc_hosts = ["dns", "mail", "coffee", "auth1"]
|
|
|
|
# the subnet for the containers
|
|
ipv4_subnet = 192.168.100.0/24
|
|
|
|
# the gateway for the containers - this should be the upstream
|
|
# gateway if you are using a shared bridge, or the VM's bridge
|
|
# IP address if you are using a standalone bridge.
|
|
ipv4_gateway = 192.168.100.1
|
|
|
|
# the upstream DNS IP address
|
|
upstream_dns = 192.168.122.1
|
|
|
|
# the IP address of the VM - this should be the VM's default outgoing
|
|
# IP address if you are using a standalone bridge, or the VM's bridge
|
|
# address if you are using a standalone bridge.
|
|
host_ipv4_addr = 192.168.100.1
|
|
|
|
# The IP addresses for the VMs. The outsider IP address does not really
|
|
# matter, just make sure it is in a different subnet from the others.
|
|
# Make sure to update the IP addresses of the other containers is in the
|
|
# ipv4_subnet which you specified above.
|
|
outsider_ipv4_addr = 192.168.101.2
|
|
dns_ipv4_addr = 192.168.100.4
|
|
mail_ipv4_addr = 192.168.100.52
|
|
coffee_ipv4_addr = 192.168.100.20
|
|
auth1_ipv4_addr = 192.168.100.117
|