Docker - how to exec after brining up container

After brining up a docker container

  • name: Docker Container
    docker:
    name: superduper
    image: mycompany/superduper/“{{ git_hash_short }}”
    state: reloaded
    pull: always
    command: bash “{{ path_to_script }}”/wrapper.sh
    env:
    APP_ROOT: “{{ app_root }}”

with docker module, how could you then do equivalent of ‘docker exec -t superduper some_command’ without doing a command or shell?