From 267157d519d3fc8277d9c62fb525698f8d74e7fc 2023-08-22 01:50:00 From: x Date: 2023-08-22 01:50:00 Subject: [PATCH] feat: inventory, add more variables for templating --- diff --git a/hosts b/hosts index f795d528158d07409db529a8535935eacaaa34c5..298a0917b1882234ea139ef7b2203dc711104f1e 100644 --- a/hosts +++ b/hosts @@ -1,15 +1,8 @@ -# 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 - # server list is here -fflux-test ansible_host=89.58.3.252 network_index=19 +# 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] @@ -26,6 +19,8 @@ fflux-test [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]