Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Anonymous
2 years agoCreating login items from Ansible
Im trying to figure out how to use 1Password CLI to create items from Ansible.
Everything I tried is giving me an error: "Failed to create item: invalid JSON"
Here is my test task:
- name...
Anonymous
2 years agoHey everyone,
My apologies for the late response. This seems to be a bug of op item create present in piped environments, the workaround is indeed to use --template or to pipe a part of the item (or a full template) into the command:
op item template get login | op item create
I hope this helps, as a workaround. This is something we're currently looking into fixing, so thank you for raising this!
Best,
Horia