It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
Former Member
3 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...
Former Member
3 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