rhel-system-roles/ansible-packaging.inc
Rich Megginson 4c72d73cf8 Initial official build for 9.3/8.9 - new role postgresql
fingerprint in config files managed by roles
Resolves:rhbz#2186910

ha_cluster - Add possibility to load SBD watchdog kernel modules
Resolves:rhbz#2190478

ha_cluster - support for resource and operation defaults
Resolves:rhbz#2190483

postgresql - [RFE] system role for PostgreSQL management
Resolves:rhbz#2151371

rhc - [RFE] New role for Red Hat subscription management, insights management [rhel-8.9.0]
Resolves:rhbz#2179016

ha_cluster - use pcs to setup qdevice certificates if available
Resolves:rhbz#2190480

spec: Remove doc fragments from vendored modules
Resolves:rhbz#2186198

roles should support running with gather_facts: false
Resolves:rhbz#2190500

use ansible-galaxy collection build/install instead of tar
Resolves:rhbz#2175326

rhc - RHC system role: activation key registration fails if system is already registered
Resolves:rhbz#2186908

selinux - failing test - sshd/tests_firewall_selinux.yml - No package matching 'firewalld' found available, installed or updated
Resolves:rhbz#2190499
2023-05-04 08:43:08 -06:00

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