create os based groups and move all os variables to group variables

This commit is contained in:
Timo Makinen 2019-05-22 23:28:25 +03:00
parent 612644e92a
commit 04e7eb07c9
7 changed files with 19 additions and 20 deletions

View file

@ -1,6 +1,5 @@
---
os_type: centos7
datadisk_size:
- 10

View file

@ -1,6 +1,5 @@
---
os_type: centos7
datadisk_size:
- 1000

15
group_vars/openbsd.yml Normal file
View file

@ -0,0 +1,15 @@
---
# fix python path errors
ansible_python_interpreter: "/usr/bin/env python"
# we have real wheel group
ansible_wheel: wheel
# fix tls directories
tls_certs: /etc/ssl
tls_private: /etc/ssl/private
# default resources for new vm
dsk_size: 10
mem_size: 256
num_cpus: