- A user-friendly description of a new feature. {issue-number}
- A user-friendly description of a fix. {issue-number}
- A user-friendly description of a security fix. {issue-number}
This release updates the collection based on the ansible-core
support matrix. This involves the following:
- Dropping support for
ansible-core
2.14 since it will reach its end of life on May 20th 2024. - Dropping support for Python 3.8 since it's no longer supported in
ansible-core
2.15 and above.
To be able to use the latest version of the collection, please update your ansible-core
and Python versions.
No breaking changes have been made in terms of usability of the collection.
⚠️ Set Ansible core 2.15 as minimum required version. {#91}⚠️ Set Python 3.9 as minimum required version. {#91}
- Add 204 as a valid status code for DELETE operation. {#82}
- Connect responses of type
HTTPError
ornull
are now properly handled. (#59) - Added an Ansible Automation Hub tag (
security
) to add compliance with the Automation Hub guidelines. Credits to @JohnLieske for the contribution. (#52) - Added required
meta/runtime.yml
for Ansible Galaxy compat. (#50)
- Introduce the
onepassword.connect.field_info
module (#39)
-
Add
flatten_fields_by_label
option to theonepassword.connect.field_info
module. (#34)- The new option defaults to
true
and preserves the behavior seen in versions <=2.1.1. - The default behavior will change in release v3.0.0
- See PR #39 for more details.
- The new option defaults to
-
Creating a one-time password (
OTP
) field within an item now uses the correct field type. (#46)
This release improves compatibility with all Python runtimes supported by Ansible 2.9+.
We are making this change to better support customers downloading this collection through RedHat's Ansible Automation Hub.
- Replace Python 3.6+ features with backwards-compatible implementations. (#31)
This version fixes several bugs, introduces more supported item types, and improves how the module handles special fields for certain item types.
Note there is a breaking change when defining an Item with type: login
or type: password
:
- Creating a
type: password
Item without aconcealed
field named password will raise an error - If the Item type is
password
and there are multipleconcealed
fields named password, Ansible raises an error - If the Item type is
login
and there are multiple string fields named username, Ansible raises an error.
- Change default item type to
API_CREDENTIAL
(#25) - Add more supported item type choices (#24)
get_item_by_name
client method now returns the full item response instead of the overview. (#29)- Fix field_purpose assignment when item type is
PASSWORD
orLOGIN
(#28) - Use UTF-8 string normalization while searching for fields when updating an item. (#27)
- The
generic_item
module now preserves the notes field without it being present in the module parameters (#27) - Fix sed regex for currentVersion lookup in release tool. (#23)
This release introduces two breaking changes to the generic_item
module:
-
The Item options
state: upserted
andstate: created
have been replaced bystate: present
. Please refer to the README for usage details. -
You now have fine-grained controls for defining when 1Password Connect should generate a field's value. The
generate_value
setting now acceptson_create
,always
, andnever
(default).
- You can now use the familiar
state: absent
andstate: present
when defining 1Password vault items in your playbooks. (#15) - Introduce
on_create
/always
/never
options for a field'sgenerate_value
setting (#15). - Add support for API_CREDENTIAL item type (#17)
- Makefile now uses the correct path to the testing script. (#14)
- Resolves small issues with the Ansible Galaxy manifest file
- Exclude the
test/
directory from the build artifact.
First public release of the 1Password Ansible collection for Secrets Automation.
- Module documentation now adheres to Ansible standards
- Remove Python3.6 syntax as required by Ansible compile tests
field.overwrite
option is now True by default.field.label
is now required- Clarify
state: upserted
arg in README
- Initial beta release.