94fdbccf4d
fingerprint in config files managed by roles Resolves:rhbz#2185062 ha_cluster - Add possibility to load SBD watchdog kernel modules Resolves:rhbz#2185067 ha_cluster - support for resource and operation defaults Resolves:rhbz#2185065 postgresql - [RFE] system role for PostgreSQL management Resolves:rhbz#2151373 rhc - [RFE] New role for Red Hat subscription management, insights management [rhel-9.3.0] Resolves:rhbz#2179026 ha_cluster - use pcs to setup qdevice certificates if available Resolves:rhbz#2185066 spec: Remove doc fragments from vendored modules Resolves:rhbz#2185002 use ansible-galaxy collection build/install instead of tar Resolves:rhbz#2175324 rhc - RHC system role: activation key registration fails if system is already registered Resolves:rhbz#2186218 selinux - failing test - sshd/tests_firewall_selinux.yml - No package matching 'firewalld' found available, installed or updated Resolves:rhbz#2190501
22 lines
1.2 KiB
PHP
22 lines
1.2 KiB
PHP
# Helper macros originally from macros.ansible by Igor Raits <ignatenkobrain>
|
|
# This file is for maintaining the compatibility with macros and other
|
|
# functionality (generators) provided by ansible-packaging on Fedora.
|
|
|
|
Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{collection_version}
|
|
|
|
# ansible-galaxy is available by ansible-core on RHEL 8.6 and newer at buildtime.
|
|
%define ansible_collection_build() ansible-galaxy collection build
|
|
%define ansible_collection_install() ansible-galaxy collection install -n -p %{buildroot}%{_datadir}/ansible/collections %{collection_namespace}-%{collection_name}-%{version}.tar.gz
|
|
|
|
%define ansible_roles_dir %{_datadir}/ansible/roles
|
|
%define ansible_collections_dir %{_datadir}/ansible/collections/ansible_collections
|
|
|
|
# TODO: Officially deprecate this macro and add the following line to the macro
|
|
# def after the new approach has gotten more testing and adoption:
|
|
# %%{warn: %%{ansible_collection_files} is deprecated. Use %%files -f %%{ansible_collection_filelist} instead.}
|
|
%define ansible_collection_files %{shrink:
|
|
%{ansible_collections_dir}/%{collection_namespace}/
|
|
}
|
|
|
|
%define ansible_collection_filelist %{__ansible_builddir}/ansible_collection_files
|