Compare commits

...

2 Commits

Author SHA1 Message Date
Owen Zimmerman c2c83fc4a8 Merge branch 'frawhide' into owen/ansible-collection-onepassword-connect 2026-06-14 05:17:41 -05:00
Owen-sz 47d866cf6c add: ansible-collection-onepassword-connect and ansible-collections/ folder
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-06-14 05:12:06 -05:00
4 changed files with 69 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "ansible-onepasswordconnect-collection.spec"
}
}
@@ -0,0 +1,52 @@
%if %{defined fedora}
%bcond_without tests
%else
%bcond_with tests
%endif
Name: ansible-collection-onepassword-connect
Version: 2.4.0
Release: 1%{?dist}
Summary: Contains modules that interact with your 1Password Connect deployment
License: GPL-3.0-or-later
URL: %{ansible_collection_url onepassword connect}
Source0: https://github.com/1Password/ansible-onepasswordconnect-collection/archive/refs/tags/v%{version}.tar.gz
Patch0: doc-files.patch
Packager: Owen Zimmerman <owen@fyralabs.com>
BuildRequires: ansible-packaging
%if %{with tests}
BuildRequires: ansible-packaging-tests
%endif
BuildArch: noarch
%description
The 1Password Connect collection contains modules that interact
with your 1Password Connect deployment. The modules communicate
with the 1Password Connect API to support Vault Item
create/read/update/delete operations.
%prep
%autosetup -n ansible-onepasswordconnect-collection-%{version} -p1
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/#_shebangs
find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
%build
%ansible_collection_build
%install
%ansible_collection_install
%if %{with tests}
%check
%ansible_test_unit
%endif
%files -f %{ansible_collection_filelist}
%license LICENSE.md
%doc CHANGELOG.md README.md USAGEGUIDE.md CHANGELOG.rst
%changelog
* Sun Jun 14 2026 Owen Zimmerman <owen@fyralabs.com> - 2.4.0-1
- Initial commit
@@ -0,0 +1,10 @@
diff --git a/galaxy.yml b/galaxy.yml
index f068ebc..6ef0f71 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -31,4 +31,4 @@ issues: https://github.com/1Password/ansible-onepasswordconnect-collection/issue
# A list of file glob-like patterns used to filter any files or directories that should not be included in the build
# artifact.
-build_ignore: [scripts, .venv, venv, .*, tests]
+build_ignore: [.md, .rst, scripts, .venv, venv, .*, tests]
@@ -0,0 +1 @@
rpm.version(gh("1Password/ansible-onepasswordconnect-collection"));