-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker_compose_v2_pull: add ignore_buildable
option (and/or extra_args
)
#941
Comments
Options like |
#942 adds this option (and two more, while being at it...). |
Nice, thanks! That's what I thought as well about Also, for anyone trying to achieve what I've described in the first post: unfortunately the For now I've worked around it by just throwing in a For a brief moment I've thought about a |
It makes sense only if you're sure that the service wasn't running :)
Actually a docker_compose_v2_build module would be the proper solution. (We actually had an issue for potentially that #750, but in that case it turned out that the person requesting it mainly needed the Also there's no need for a dozen others, since most subcommands of attach: makes no sense since it is continuously displaying data build: makes sense as its own module docker_compose_v2_build config: not sure, could be its own _info module? create: could be a state of docker_compose_v2 down: is a state of docker_compose_v2 I'm generally not implementing anything here without anyone asking for it (and presenting some use-case that makes sense). Having a module for |
SUMMARY
As the title says - it'd be great if the module had an equivalent of
--ignore-buildable
flag.This would allow for a more smallest-step-possible approach, which I'm trying to achieve (
pull
,build
,up
all in separate steps).ISSUE TYPE
COMPONENT NAME
docker_compose_v2_pull
moduleADDITIONAL INFORMATION
I believe a
ignore_buildable: bool
flag could be added, defaulting toFalse
, which if set toTrue
would add the--ignore-buildable
flag to thedocker compose
call.Alternatively (or additionally, as it's not exclusive) an
extra_args
flag would allow for better flexibility at the cost of slightly higher fragility of users' setups if used.Example playbook (partial) showing what I'd like to achieve:
The text was updated successfully, but these errors were encountered: