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