diff --git a/files/hosts.example b/files/hosts.example new file mode 100644 index 0000000..6af41d7 --- /dev/null +++ b/files/hosts.example @@ -0,0 +1,164 @@ +# This is the default ansible 'hosts' file. +# +# It should live in /etc/ansible/hosts +# +# - Comments begin with the '#' character +# - Blank lines are ignored +# - Groups of hosts are delimited by [header] elements +# - You can enter hostnames or ip addresses +# - A hostname/ip can be a member of multiple groups + +# Ex 1: Ungrouped hosts, specify before any group headers. + +#green.example.com +#blue.example.com +#192.168.100.1 +#192.168.100.10 + +# Ex 2: A collection of hosts belonging to the 'webservers' group + +#[webservers] +#alpha.example.org +#beta.example.org +#192.168.1.100 +#192.168.1.110 + +# If you have multiple hosts following a pattern you can specify +# them like this: + +#www[001:006].example.com + +# Ex 3: A collection of database servers in the 'dbservers' group + +#[dbservers] +# +#db01.intranet.mydomain.net +#db02.intranet.mydomain.net +#10.25.1.56 +#10.25.1.57 + +# Here's another example of host ranges, this time there are no +# leading 0s: + +#db-[99:101]-node.example.com + + + +[freifunk_Lohmar] +82.165.139.113 ansible_ssh_port=2222 + +[freifunk] +46.4.138.180 ansible_ssh_port=2222 +46.4.138.181 ansible_ssh_port=2222 +46.4.138.182 ansible_ssh_port=2222 +46.4.138.183 ansible_ssh_port=2222 +46.4.138.188 ansible_ssh_port=22 +46.4.138.189 ansible_ssh_port=22 + +[freifunk_sn:children] +troisdorf4 +troisdorf5 +troisdorf6 +troisdorf7 + +[freifunk_sn_l2tp:children] +troisdorf4 +troisdorf5 +troisdorf6 +troisdorf7 + +[freifunk_sn:vars] +ansible_ssh_port=22 +ansible_ssh_user=root +sn_mtu=1312 +sn_l2tp_tb_port=53842 +sn_l2tp_tb_backup_port=53840 +sn_fqdn=freifunk-troisdorf.de +static_dhcp_repo=https://github.com/Freifunk-Troisdorf/static-dhcp.git +root_password_file=/home/localadmin/root_pwd.yml +slack_token_file=/home/localadmin/slack_token.yml + +[troisdorf4] +4.freifunk-troisdorf.de + +[troisdorf4:vars] +sn_number=4 +sn_hostname=troisdorf4 +sn_dhcp_range=10.188.8.0 10.188.15.254 +sn_mesh_IPv6=2a03:2260:121:4000::4 +sn_mesh_IPv6_net=2a03:2260:121:4000::/64 +sn_mesh_IPv6_xfer=2a03:2260:121:4000::2 +sn_mesh_IPv4=10.188.0.4 +sn_mesh_IPv4_brcast=10.188.31.255 +sn_mesh_IPv4_net=10.188.0.0 +sn_mesh_IPv4_xfer=10.188.0.2 +sn_mesh_MAC=a2:8c:ae:6f:f6:04 +ul_mesh_MAC=a2:8c:ae:6f:f6:40 +sn_ffrl_IPv4=185.66.193.104 +sn_exit=1 +sn_interface_name=eth0 +yanic_domain=tdf + + +[troisdorf5] +5.fftdf.de + +[troisdorf5:vars] +sn_number=5 +sn_hostname=troisdorf5 +sn_dhcp_range=10.188.40.0 10.188.47.255 +sn_mesh_IPv6=2a03:2260:121:5000::5 +sn_mesh_IPv6_net=2a03:2260:121:5000::/64 +sn_mesh_IPv6_xfer=2a03:2260:121:5000::2 +sn_mesh_IPv4=10.188.32.5 +sn_mesh_IPv4_brcast=10.188.63.255 +sn_mesh_IPv4_net=10.188.32.0 +sn_mesh_IPv4_xfer=10.188.32.2 +sn_mesh_MAC=a2:8c:ae:6f:f6:05 +ul_mesh_MAC=a2:8c:ae:6f:f6:50 +sn_ffrl_IPv4=185.66.193.105 +sn_exit=1 +sn_interface_name=eth0 +yanic_domain=inn + +[troisdorf6] +6.fftdf.de + +[troisdorf6:vars] +sn_number=6 +sn_hostname=troisdorf6 +sn_dhcp_range=10.188.72.0 10.188.79.255 +sn_mesh_IPv6=2a03:2260:121:6000::6 +sn_mesh_IPv6_net=2a03:2260:121:6000::/64 +sn_mesh_IPv6_xfer=2a03:2260:121:6000::2 +sn_mesh_IPv4=10.188.64.6 +sn_mesh_IPv4_brcast=10.188.95.255 +sn_mesh_IPv4_net=10.188.64.0 +sn_mesh_IPv4_xfer=10.188.64.2 +sn_mesh_MAC=a2:8c:ae:6f:f6:06 +ul_mesh_MAC=a2:8c:ae:6f:f6:60 +sn_ffrl_IPv4=185.66.193.106 +sn_exit=1 +sn_interface_name=eth0 +yanic_domain=flu + +[troisdorf7] +7.fftdf.de + +[troisdorf7:vars] +sn_number=7 +sn_hostname=troisdorf7 +sn_dhcp_range=10.188.104.0 10.188.111.255 +sn_mesh_IPv6=2a03:2260:121:7000::7 +sn_mesh_IPv6_net=2a03:2260:121:7000::/64 +sn_mesh_IPv6_xfer=2a03:2260:121:7000::2 +sn_mesh_IPv4=10.188.96.7 +sn_mesh_IPv4_brcast=10.188.127.255 +sn_mesh_IPv4_net=10.188.96.0 +sn_mesh_IPv4_xfer=10.188.96.2 +sn_mesh_MAC=a2:8c:ae:6f:f6:07 +ul_mesh_MAC=a2:8c:ae:6f:f6:70 +sn_ffrl_IPv4=185.66.193.107 +sn_local_exit=1 +sn_interface_name=ens18 +yanic_domain=evt diff --git a/files/root_pwd.yml.example b/files/root_pwd.yml.example new file mode 100644 index 0000000..f7fc8a5 --- /dev/null +++ b/files/root_pwd.yml.example @@ -0,0 +1 @@ +sn_rootpasswd: xyz diff --git a/files/slack_token.yml.example b/files/slack_token.yml.example new file mode 100644 index 0000000..06980a3 --- /dev/null +++ b/files/slack_token.yml.example @@ -0,0 +1 @@ +slack_token: "XYZ"