diff --git a/Vagrantfile b/Vagrantfile index 11d2c13..6f7ea63 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -7,9 +7,9 @@ Vagrant.configure("2") do |config| v.cpus = 3 v.driver = "qemu" end - config.vm.define "master" do |master| - master.vm.hostname = "master" - master.vm.network "private_network", + config.vm.define "plano-control" do |pcontrol| + pcontrol.vm.hostname = "plano-control" + pcontrol.vm.network "private_network", :libvirt__network_name => "k3s-vagrant", :ip => "10.10.10.10", :libvirt__dhcp_enabled => false, diff --git a/ansible/hosts b/ansible/hosts new file mode 100644 index 0000000..8497f99 --- /dev/null +++ b/ansible/hosts @@ -0,0 +1,18 @@ +all: + children: + planos_control: + hosts: + p_nodo: + ansible_ssh_host: 192.168.121.234 + ansible_ssh_user: debian + ansible_ssh_private_key_file: ~/.ssh/id_rsa + trabajadores: + hosts: + nodo1: + ansible_ssh_host: 192.168.121.157 + ansible_ssh_user: debian + ansible_ssh_private_key_file: ~/.ssh/id_rsa + nodo2: + ansible_ssh_host: 192.168.121.33 + ansible_ssh_user: debian + ansible_ssh_private_key_file: ~/.ssh/id_rsa \ No newline at end of file