29 lines
683 B
Plaintext

---
- hosts: localhost
tasks:
- name: Create ombi config
docker_volume:
name: ombi_config
- name: Create network interfaces 1/2
command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0
ignore_errors: True
- name: Start Ombi
docker_container:
name: ombi
hostname: ombi
recreate: yes
image: linuxserver/ombi
ports:
- "192.168.1.62:3579:3579"
volumes:
- ombi_config:/config
env:
PUID=1000
PGID=1000
TZ=US/Mountain
memory: 1G
container_default_behavior: compatibility
restart_policy: unless-stopped