Files
@ 267157d519d3
Branch filter:
Location: freifunk/Ansible-Configuration/hosts - annotation
267157d519d3
1.2 KiB
text/plain
feat: inventory, add more variables for templating
5a1431fa7615 267157d519d3 267157d519d3 267157d519d3 267157d519d3 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 267157d519d3 267157d519d3 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 5a1431fa7615 | # server list is here
# ansible_host = IP address of remote machine
# network_index = last number of MAC address (10-19)
# dhcp range = 10.24.XXX.1 - 10.24.YYY.1 // X = start_range, Y = end_ranges
fflux-test ansible_host=89.58.3.252 network_index=19 dhcp_start_range=188 dhcp_end_range=191 gateway_status="True" hardware_model="VPS 200 G8"
# machines which are used for tests
[test]
fflux-test
# variable for the test group come here
[test:vars]
#mac1=ca:fe:ca:fe:00:19
#ipv4=10.24.128.19
#ipv6=fd4e:f2d7:88d2:fffe::19
#vars_files: /etc/ansible/host_vars/firmware.freifunk.lu
# all machine variables come here
[all:vars]
ansible_python_interpreter=/usr/bin/python3
ansible_ssh_private_key_file=/home/fflux/.ssh/fflux_fflux
server_config_dir=~/repos/Infrastructure-Intern/server_config
server_scripts_dir=~/repos/Infrastructure-Intern/scripts
# new machine come here
[initial]
#fflux-test
# machines which run api.freifunk.lu
[API]
# machines which run map.freifunk.lu
[MAP]
# machines which run stats.freifunk.lu
[STATS]
# machines which run firmware.freifunk.lu
[FIRMWARE]
# machines which run freifunk.lu
[WORDPRESS]
# machine which are gateways for freifunk.lu
[fflux]
[gw1]
[gw2]
[gw3]
|