From 252679dad3615ee8cea0256a7c13b100a12a2d73 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Tue, 1 Feb 2022 18:22:16 +0000 Subject: [PATCH] Add sunappi.foo.sh --- host_vars/sunappi.foo.sh.yml | 10 ++++++++++ playbooks/sunappi.yml | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 host_vars/sunappi.foo.sh.yml create mode 100644 playbooks/sunappi.yml diff --git a/host_vars/sunappi.foo.sh.yml b/host_vars/sunappi.foo.sh.yml new file mode 100644 index 0000000..35b532f --- /dev/null +++ b/host_vars/sunappi.foo.sh.yml @@ -0,0 +1,10 @@ +--- +mem_size: 8192 +vmhost: vmhost01.home.foo.sh +network_interfaces: + - device: eth0 + vlan: 102 + ipaddr: 37.16.96.146 + netmask: 255.255.255.240 + gateway: 37.16.96.145 + proto: static diff --git a/playbooks/sunappi.yml b/playbooks/sunappi.yml new file mode 100644 index 0000000..fc91976 --- /dev/null +++ b/playbooks/sunappi.yml @@ -0,0 +1,9 @@ +--- +# This is just dummy playbook to get host up and running +# configuration is done elsewhere +- import_playbook: "include/deploy-kvm-guest.yml myhosts=sunappi" + +- name: configure instance + hosts: static + user: root + gather_facts: true