community.docker icon indicating copy to clipboard operation
community.docker copied to clipboard

How to use `files`?

Open mihalt opened this issue 1 month ago • 5 comments

I haven't found in docs how to use files. I try something like

User
  tasks:
    community.docker.docker_compose:
      files:
        - "./mycustom-compose.yml"

And get an error like: ERROR! A malformed block was encountered while loading tasks: {'community.docker.docker_compose': {'files': ['./mycustom-compose.yml']}} should be a list or None but is <class 'ansible.parsing.yaml.objects.AnsibleMapping'>

mihalt avatar May 08 '24 20:05 mihalt