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 agoI am having this exact same issue. Using 1password-cli 2.17.0.
Something to add is that the op get command works fine:
"cmd": ["op", "item", "get", "FOO", "--vault", "Private", "--fields", "notesPlain"]
but the simple create does not:
"cmd": ["op", "item", "create"]
"stderr": "[ERROR] 2023/05/03 14:08:17 Failed to create item: invalid JSON"