Replies: 1 comment 2 replies
-
@akiross I'd be happy to merge PR which adds such examples to doc :) Would you like to submit an example? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I just started using ansible with podman and I hit a minor hiccup when using
extra_args
: I needed to use some--build-arg
, but for some reason I did not realizeextra_args
was more general and I just assumed it was precisely expecting a list of variables for--build-arg
. So, I tried to do the following:and got a rather cryptic error:
Error: accepts at most 1 arg(s), received 2
(the error is clear, but what is causing that is not as clear).In retrospect,
extra_args
was obviously meant to be used like:So, just to avoid someone does the same mistake, I'm proposing to add an example to the documentation showing how to use
extra_args
, for example by passing--build-arg FOO=bar
.That's it. Thank you for your great work with podman and ansible!
Beta Was this translation helpful? Give feedback.
All reactions