diff --git a/host_vars/router4.yml b/host_vars/core4.yml similarity index 91% rename from host_vars/router4.yml rename to host_vars/core4.yml index 81233a5..23efc45 100644 --- a/host_vars/router4.yml +++ b/host_vars/core4.yml @@ -1,3 +1,9 @@ +ansible_connection: network_cli +ansible_network_os: vyos +ansible_ssh_host: 5.9.220.113 +ansible_user: vyos +ansible_python_interpreter: /usr/bin/python3 + wan_address: 5.9.220.113 wan_gateway: 5.9.220.112 wan_net: /29 diff --git a/hosts.yml b/hosts.yml index 505e82a..865aa5d 100644 --- a/hosts.yml +++ b/hosts.yml @@ -9,7 +9,7 @@ all: children: ffrl-uplink: hosts: - r4.fftdf.de: + core4: supernodes: children: vpn-offloader: diff --git a/roles/00-ubuntu-basic/templates/ndppd.conf.j2 b/roles/01-vpn-offloader-setup/templates/ndppd.conf.j2 similarity index 100% rename from roles/00-ubuntu-basic/templates/ndppd.conf.j2 rename to roles/01-vpn-offloader-setup/templates/ndppd.conf.j2 diff --git a/vyos_config.yml b/vyos_config.yml new file mode 100644 index 0000000..9c3b081 --- /dev/null +++ b/vyos_config.yml @@ -0,0 +1,5 @@ +# ansible-playbook -i hosts.yml vyos_config.yml +- name: System preperation + hosts: router + roles: + - vyos-config \ No newline at end of file