mhutter / ansible-docker-systemd-service

Ansible role for creating Systemd services for docker containers
https://galaxy.ansible.com/mhutter/docker-systemd-service
MIT License
49 stars 30 forks source link

container_args not working #31

Closed DanielMSchmidt closed 4 years ago

DanielMSchmidt commented 4 years ago

The container_args are rendered as

ExecStart=/usr/bin/docker run --name foo --rm --env-file /etc/default/foo  ['--add-host idadwh.db:10.0.1.3'] nginx:latest
DanielMSchmidt commented 4 years ago

It was just an outdated file, I had misused the container args previously. I will add a line to the docs to add more clarity