22 lines
403 B
YAML
22 lines
403 B
YAML
---
|
|
- name: Deploy KVM virtual machines
|
|
ansible.builtin.import_playbook: include/deploy-kvm-guest.yml
|
|
vars:
|
|
myhosts: mqtt
|
|
|
|
- name: Configure instance
|
|
hosts: mqtt
|
|
user: root
|
|
gather_facts: true
|
|
|
|
vars_files:
|
|
- "{{ ansible_private }}/vars.yml"
|
|
|
|
roles:
|
|
- base
|
|
- mosquitto
|
|
- telegraf
|
|
- nginx
|
|
- role: nginx_site
|
|
nginx_site_name: iot.foo.sh
|
|
- shelly_firmware
|