Add infra interface to homeassistant
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
containers.podman.podman_network:
|
||||
name: iot
|
||||
macvlan: ens19
|
||||
- name: Create network for iot interface
|
||||
containers.podman.podman_network:
|
||||
name: infra
|
||||
macvlan: ens19
|
||||
- name: Create config directory
|
||||
ansible.builtin.file:
|
||||
path: /var/homeassistant
|
||||
@@ -21,7 +25,9 @@
|
||||
recreate: true
|
||||
restart: true
|
||||
restart_policy: "unless-stopped"
|
||||
network: host
|
||||
network:
|
||||
- iot
|
||||
- infra
|
||||
privileged: true
|
||||
state: started
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user