Add homeassistant host
This commit is contained in:
parent
810e64dde7
commit
dc5717712d
4 changed files with 49 additions and 0 deletions
25
playbooks/homeassistant.yml
Normal file
25
playbooks/homeassistant.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
- name: Deploy KVM virtual machines
|
||||
ansible.builtin.import_playbook: >-
|
||||
include/deploy-kvm-guest.yml myhosts=homeassistant
|
||||
|
||||
- name: Configure instance
|
||||
hosts: homeassistant
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
||||
pre_tasks:
|
||||
- name: Mount /export
|
||||
ansible.posix.mount:
|
||||
name: /export
|
||||
src: LABEL=/export
|
||||
fstype: xfs
|
||||
opts: noatime,nosuid,nodev
|
||||
passno: "0"
|
||||
dump: "0"
|
||||
state: mounted
|
||||
|
||||
roles:
|
||||
- base
|
||||
- ldap
|
||||
- homeassistant
|
Loading…
Add table
Add a link
Reference in a new issue