- Mar 26, 2024
-
-
Thomas Woerner authored
The offline default value was 0, which resulted in 0 for ${offline/1/--offline}. This broke the ansible-galaxy collection install call.
-
- Mar 20, 2024
-
-
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
-
- May 05, 2023
-
-
Thomas Woerner authored
ansible requires to either use "#!/bin/bash -eu" or "#!/bin/bash -eux" for bash shebangs.
-
- Apr 20, 2023
-
-
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
-
- Nov 23, 2022
-
-
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)
-
- Jun 14, 2022
-
-
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.
-
- May 12, 2022
-
-
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.
-
- Feb 14, 2022
-
-
Thomas Woerner authored
The script now fixes the references for all doc_fragments in the plugins/doc_fragments folder. So far it was only fixing the references for ipamodule_base_docs. PR #762 (automount location: add support for delete_continue) added an other doc_fragment and the references have not been fixes as needed.
-
- Jan 12, 2022
-
-
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.
-
- Dec 14, 2021
-
-
Thomas Woerner authored
plugins/modules/ipabackup_* needs to be cleaned up not plugins/action/ipabackup_*
-
- Nov 25, 2021
-
-
Rafael Guterres Jeffman authored
-
- Nov 24, 2021
-
-
Thomas Woerner authored
The link for plugins/modules/ipabackup_get_backup_dir.py from roles/ipabackup/library/ipabackup_get_backup_dir.py was left over after the script finished.
-
- Oct 11, 2021
-
-
Thomas Woerner authored
The action plugins path was wrong. It was "plugins/action_plugins" and should have been "plugins/action".
-
- Oct 04, 2021
-
-
Thomas Woerner authored
The items in extends_documentation_fragments of the modules need to have the proper galaxy prefix. The documentation fragment - ipamodule_base_docs needs to be changed to - ${collection_prefix}.ipamodule_base_docs
-
- Jan 18, 2021
-
-
Rafael Guterres Jeffman authored
This patch adds a missing argument to `read` and adds information on which step is being executed.
-
Thomas Woerner authored
A wrong variable was used inside of the while IFS read loops. This prevented that the modules, playbooks, tasks, example playbooks and also tests have been adapted for the galaxy release naming scheme.
-
- Dec 09, 2020
-
-
Thomas Woerner authored
warning[SC2044]: For loops over find output are fragile. Use find -exec or a while read loop. warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
-
- Nov 30, 2020
-
-
Thomas Woerner authored
The default namespace and collection name was not set due to using ":" instead of "-" while setting the variables internally.
-
- Nov 17, 2020
-
-
Thomas Woerner authored
The currently used namespace and collection name are hard coded in utils/build-galaxy-release.sh. They can now be defined as args 1 and 2 and default to freeipa and ansible_freeipa..
-
- Nov 13, 2020
-
-
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.
-
- Apr 02, 2020
-
-
Thomas Woerner authored
The old name was galaxyify-playbook.py instead of galaxyfy-playbook.py
-
Thomas Woerner authored
The namespace and colleciton name have been hard coded. Now variables are used for them. The project prefix and collection prefix are now passed to galaxyify-playbook.py.
-
- Mar 30, 2020
-
-
Thomas Woerner authored
Galaxy does not like the use of the extra "-1" release tag. Fixes: #236 (Can't install via Galaxy)
-
- Dec 14, 2019
-
-
Thomas Woerner authored
ansible-galaxy needs to be used to build the Ansible collection. mazer should not be used any more.
-
- Jul 23, 2019
-
-
Thomas Woerner authored
The prefix has been fixed in the wrong files.
-
Thomas Woerner authored
This script will to the following steps: - Fix the galaxy release in galaxy.yml - Remove emacs backup files - Link module_utils, modules and action_plugins from roles to plugins/.. - Fix import prefix for module_utils - Fix module prefixes in playbooks and example playbooks - Build release using mazer - Clean up again
-