creado fichero hosts
This commit is contained in:
parent
3c0c89d9f5
commit
70e5e24f38
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@ -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,
|
||||
|
18
ansible/hosts
Normal file
18
ansible/hosts
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user