Skip to content
  1. Mar 26, 2024
  2. Mar 20, 2024
    • Thomas Woerner's avatar
      utils/build-galaxy-release.sh: Enable offline generation for rpm · fe16df8a
      Thomas Woerner authored
      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>   Installation the generated collection in the path, the
                      ansible_collections sub directory will be created and will
                      contain the collection: ansible_collections/<namespace>/<name>
                      Also enables -i
      
      The usage text has been fixed also for specifying namespace and name.
      The collection variable has been renamed to name.
      
      Example usage:
      
          utils/build-galaxy-release.sh -o 1.12.1 \
              -p %{buildroot}%{_datadir}/ansible/collections \
              freeipa ansible_freeipa
      fe16df8a
  3. May 05, 2023
  4. Apr 20, 2023
    • Thomas Woerner's avatar
      utils/build-galaxy-release.sh: Create module action group · 966797db
      Thomas Woerner authored
      The module action group <collection-prefix>.modules is created
      automatically while building the galaxy release.
      
      The action group can be used for module_defaults in this way:
      
          module_defauls:
            group/<collection-prefix>.modules:
              ipaadmin_password: SomeADMINpassword
      
      Example:
      
          module_defaults:
            group/freeipa.ansible_freeipa.modules:
              ipaadmin_password: SomeADMINpassword
              ipaapi_context: "{{ ipa_context | default(omit) }}"
          collections:
          - freeipa.ansible_freeipa
      966797db
  5. Nov 23, 2022
    • Thomas Woerner's avatar
      ipaclient: No kinit on controller for deployment using OTP · 624e0d34
      Thomas Woerner authored
      The generation of the OTP for client deployment is now completely
      happening on the first of the given or detected servers with delegate_to.
      The module ipaclient_get_otp has been replaced by a new module using code
      from ipahost module and module_utils ansible_freeipa_module.
      
      The action plugin ipaclient_get_otp has been removed and with this also
      ipaclient_get_facts.
      
      If an admin keytab is used instead of an admin password, it is copied to
      the server as a temporary file to enable the OTP generation. The temporary
      file is removed again after using the ipaclient_get_otp module.
      
      The utils script build-galaxy-release.sh has been updated to not copy the
      ipaclient action plugin to the global plugins folder of the collection.
      
      This change is import for the use of the ipaclient role with AAP as only
      the base environment is sufficient now.
      
      The ipaclient README and also the global README have been updated as
      kinit is not needed anymore on the controller for OTP.
      
      Fixes #903 (Allow the use of principals other than admin when using
                  ipaadmin_keytab)
      624e0d34
  6. Jun 14, 2022
    • Rafael Guterres Jeffman's avatar
      build-galaxy-release: Automatically create CHANGELOG. · d82abdbe
      Rafael Guterres Jeffman authored
      Recent versions of ansible-test require the existence of a CHANGELOG
      file in the root of the collection. This changes extracts the changes
      of the latest available release tag using `utils/changelog` and create
      the CHANGELOG file with the result of the command.
      
      The generated changelog will include the changes for the latest release
      and, if present, the available changes that were not part of a release.
      d82abdbe
  7. May 12, 2022
    • Thomas Woerner's avatar
      utils/build-galaxy-release.sh: Add "-i" to install generated collection · 1ec0d1e6
      Thomas Woerner authored
      The "-i" option can be used to install the generated collection using
      the ansible-galaxy collection install command. It is using the force
      flag to install the collection if there is already a collection with the
      same name and namespace. The ansible-galaxy collection build command is
      already using the force flag to create the collection.
      1ec0d1e6
  8. Feb 14, 2022
  9. Jan 12, 2022
    • Thomas Woerner's avatar
      build-galaxy-release.sh: Use build dir, new options, checks, no reset · de8d7246
      Thomas Woerner authored
      The script is now using a build dir for the creation of the Ansible
      Collection. Additionally only files known to the fit repo are pulled in
      by default. The new "-a" option is pulling in all files from local repo.
      The new -k" option can be used to keep the build dir for verification of
      the changes to the files.
      
      The colleciton is placed into the main repo dir and no git reset --hard
      is used in the repo to preserve local changes.
      de8d7246
  10. Dec 14, 2021
  11. Nov 25, 2021
  12. Nov 24, 2021
  13. Oct 11, 2021
  14. Oct 04, 2021
  15. Jan 18, 2021
  16. Dec 09, 2020
  17. Nov 30, 2020
  18. Nov 17, 2020
  19. Nov 13, 2020
    • Thomas Woerner's avatar
      build-galaxy-release: Galaxyfy READMEs, module EXAMPLES and tests · f45b7d9d
      Thomas Woerner authored
      Up to now the snippets in the README files, the EXAMPLES in the modules
      and also the tests playbooks have not been adapted while building the
      collection.
      
      These are the invoved python files:
      
          utils/galaxyfy-README.py
          utils/galaxyfy-module-EXAMPLES.py
          utils/galaxyfy-playbook.py
          utils/galaxyfy.py
      
      utils/galaxyfy.py provides the function galaxyfy_playbook, which has been
      extended and is used in galaxyfy-playbook.py, galaxyfy-README.py and
      galaxyfy-module-EXAMPLES.py.
      f45b7d9d
  20. Apr 02, 2020
  21. Mar 30, 2020
  22. Dec 14, 2019
  23. Jul 23, 2019