mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2026-06-19 11:12:39 +02:00
feat: add ansible templates
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
[{{ hostname }}]
|
||||||
|
{{ ip }}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
{% for vmo in vmList %}
|
||||||
|
- hosts:
|
||||||
|
roles:
|
||||||
|
- monitoring-client
|
||||||
|
- monitoring-logs
|
||||||
|
{% if vmo.hostname == "monitoring" %}
|
||||||
|
- monitoring-master
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user