mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
utils/build-galaxy-release.sh: Use proper variable for galaxify
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.
This commit is contained in:
@@ -30,33 +30,33 @@ sed -i -e "s/ansible.module_utils.ansible_freeipa_module/ansible_collections.${c
|
||||
|
||||
find plugins/modules -name "*.py" -print0 |
|
||||
while IFS= read -d -r '' line; do
|
||||
python utils/galaxyfy-module-EXAMPLES.py "$x" \
|
||||
python utils/galaxyfy-module-EXAMPLES.py "$line" \
|
||||
"ipa" "$collection_prefix"
|
||||
done
|
||||
|
||||
find roles/*/library -name "*.py" -print0 |
|
||||
while IFS= read -d -r '' line; do
|
||||
python utils/galaxyfy-module-EXAMPLES.py "$x" \
|
||||
python utils/galaxyfy-module-EXAMPLES.py "$line" \
|
||||
"ipa" "$collection_prefix"
|
||||
done
|
||||
|
||||
for x in roles/*/tasks/*.yml; do
|
||||
python utils/galaxyfy-playbook.py "$x" "ipa" "$collection_prefix"
|
||||
python utils/galaxyfy-playbook.py "$line" "ipa" "$collection_prefix"
|
||||
done
|
||||
|
||||
find playbooks -name "*.yml" -print0 |
|
||||
while IFS= read -d -r '' line; do
|
||||
python utils/galaxyfy-playbook.py "$x" "ipa" "$collection_prefix"
|
||||
python utils/galaxyfy-playbook.py "$line" "ipa" "$collection_prefix"
|
||||
done
|
||||
|
||||
find . -name "README*.md" -print0 |
|
||||
while IFS= read -d -r '' line; do
|
||||
python utils/galaxyfy-README.py "$x" "ipa" "$collection_prefix"
|
||||
python utils/galaxyfy-README.py "$line" "ipa" "$collection_prefix"
|
||||
done
|
||||
|
||||
find tests -name "*.yml" -print0 |
|
||||
while IFS= read -d -r '' line; do
|
||||
python utils/galaxyfy-playbook.py "$x" "ipa" "$collection_prefix"
|
||||
python utils/galaxyfy-playbook.py "$line" "ipa" "$collection_prefix"
|
||||
done
|
||||
|
||||
#git diff
|
||||
|
||||
Reference in New Issue
Block a user