Changeset - 267157d519d3
[Not reviewed]
0 1 0
x - 21 months ago 2023-08-22 01:50:00
xbr@c3l.lu
feat: inventory, add more variables for templating
1 file changed with 6 insertions and 11 deletions:
hosts
6
11
0 comments (0 inline, 0 general)
hosts
Show inline comments
 
# 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]
0 comments (0 inline, 0 general)