Forum Discussion
Cannot get op to create a login with ansible
Hey @zigford ,
Thank you for reporting this. Without any logs, this may be a bit tedious to diagnose, but we can definitely try.
A while go, we encountered a bug that caused, in certain environments, the CLI to interpret a programatic call as receiving piped input when it's not present, in fact.
My hunch is that it might be related to this. Would it be possible for you the syntax of your command from
op item create --template item.json <assignments> <flags>
to
cat item.json | op item create <assignments> <flags>
?
Please let us know if this helps or if at least produces a more verbose error.
Looking forward to hearing from you.
Best,
Horia
Just wanted to say thanks for this also, once I had piped-input using QProcess figured out, this was the way to avoid assignment statements and instead use a temporary file on disk to save a new item. Works perfectly!