Browse Source

new host

master
parent
commit
205ffd7a45
8 changed files with 50 additions and 2 deletions
  1. +5
    -1
      group_vars/all/ips.yml
  2. +0
    -0
      group_vars/all/netif.yml
  3. +1
    -0
      group_vars/all/virt.yml
  4. +0
    -1
      group_vars/vdesks/virt.yml
  5. +23
    -0
      host_vars/kita-pro-vdesk/netif.yml
  6. +1
    -0
      host_vars/kita-pro-vdesk/ssh_host_key.yml
  7. +1
    -0
      host_vars/kita-pro-vdesk/staging.yml
  8. +19
    -0
      host_vars/kita-pro-vdesk/virt.yml

+ 5
- 1
group_vars/all/ips.yml View File

@@ -1 +1,5 @@
ips: []
ips:
- host: kita-pro-vdesk
ip: 172.23.48.1
network: kita-pro-service-net
subnet: 172.23.48.0/24

group_vars/vdesks/netif.yml → group_vars/all/netif.yml View File


+ 1
- 0
group_vars/all/virt.yml View File

@@ -0,0 +1 @@
virt_host: tg-srv-0

+ 0
- 1
group_vars/vdesks/virt.yml View File

@@ -1,3 +1,2 @@
virt_host: tg-srv-0
virt_memory: 4096
virt_vcpu: 4

+ 23
- 0
host_vars/kita-pro-vdesk/netif.yml View File

@@ -0,0 +1,23 @@
ansible_host: fd47:17e0:993c:30:47:aff:fed8:5484
netifs:
virt:
device: enp1s3
dns_resolvers:
- fd47:17e0:993c:c2::c:1
- fd47:17e0:993c:c2::c:2
- fd47:17e0:993c:c2::c:3
eui64: 47:aff:fed8:5484
id: 305124627588
ips:
- ip: fd47:17e0:993c:30:47:aff:fed8:5484/64
type: eui64
- ip: 172.23.48.1/24
type: host
ll6: fe80::47:aff:fed8:5484
mac: 02:47:0a:d8:54:84
networks:
- kita-pro-service-net
type: virt_ptp
virt_host_netif: virt
virt_pci_id: 0
ssh_ip: fd47:17e0:993c:30:47:aff:fed8:5484

+ 1
- 0
host_vars/kita-pro-vdesk/ssh_host_key.yml View File

@@ -0,0 +1 @@
ssh_host_key_ed25519_public: AAAAC3NzaC1lZDI1NTE5AAAAIABTb/3+sP5/TUhCMKcHqcKQfVBuG+QGbPI1VHvF9G03

+ 1
- 0
host_vars/kita-pro-vdesk/staging.yml View File

@@ -0,0 +1 @@
stage: production

+ 19
- 0
host_vars/kita-pro-vdesk/virt.yml View File

@@ -0,0 +1,19 @@
filesystems:
- device: /dev/vda
fstype: ext4
keep: true
mount_point: /
swap_devices:
- device: /dev/vdb
uuid: 4c5c7c6a-1331-5447-874a-3a7be8985c6b
virt_console: serial
virt_disks:
- boot: true
name: root
size: 32G
type: qcow2
- name: swap
size: 2G
type: raw
virt_host: tg-srv-0
virt_uuid: 1d23b7cf-fc5c-40bd-a127-1caa2bf64b40