ikke-t / podman-container-systemd

creates systemd files and creates containers using podman
118 stars 44 forks source link

container_run_args can be a list #75

Closed edenhaus closed 1 year ago

edenhaus commented 1 year ago

I implemented it as now you can comment out parts of the container_run_args for example for debugging

example:

- vars:
    container_image_list: 
      - sebp/lighttpd:latest
    container_name: lighttpd
    container_run_args:
      - --rm
      - -v /tmp/podman-container-systemd:/var/www/localhost/htdocs:Z,U
      # - --label "io.containers.autoupdate=image"
      - -p 8080:80
  ansible.builtin.include_role:
    name: podman-container-systemd

Motivation was that I had comment out similar as #38

ikke-t commented 1 year ago

Excellent, thanks!