freeipa / ansible-freeipa

Ansible roles and modules for FreeIPA
GNU General Public License v3.0
480 stars 231 forks source link

utils/build-galaxy-release.sh: Enable offline generation for rpm #1223

Closed t-woerner closed 3 months ago

t-woerner commented 3 months ago

Two new options have been added to enable the offline build within rpm:

-o <A.B.C>  Build offline without using git, using version A.B.C
            Also enables -a
-p <path>   Use path for the installation of the generated collection
            (use with -i)

Example usage:

utils/build-galaxy-release.sh -o 1.12.1 -i \
    -p %{buildroot}%{_datadir}/ansible/collections \
    freeipa ansible_freeipa