mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 11:24:50 +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 |
|
find plugins/modules -name "*.py" -print0 |
|
||||||
while IFS= read -d -r '' line; do
|
while IFS= read -d -r '' line; do
|
||||||
python utils/galaxyfy-module-EXAMPLES.py "$x" \
|
python utils/galaxyfy-module-EXAMPLES.py "$line" \
|
||||||
"ipa" "$collection_prefix"
|
"ipa" "$collection_prefix"
|
||||||
done
|
done
|
||||||
|
|
||||||
find roles/*/library -name "*.py" -print0 |
|
find roles/*/library -name "*.py" -print0 |
|
||||||
while IFS= read -d -r '' line; do
|
while IFS= read -d -r '' line; do
|
||||||
python utils/galaxyfy-module-EXAMPLES.py "$x" \
|
python utils/galaxyfy-module-EXAMPLES.py "$line" \
|
||||||
"ipa" "$collection_prefix"
|
"ipa" "$collection_prefix"
|
||||||
done
|
done
|
||||||
|
|
||||||
for x in roles/*/tasks/*.yml; do
|
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
|
done
|
||||||
|
|
||||||
find playbooks -name "*.yml" -print0 |
|
find playbooks -name "*.yml" -print0 |
|
||||||
while IFS= read -d -r '' line; do
|
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
|
done
|
||||||
|
|
||||||
find . -name "README*.md" -print0 |
|
find . -name "README*.md" -print0 |
|
||||||
while IFS= read -d -r '' line; do
|
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
|
done
|
||||||
|
|
||||||
find tests -name "*.yml" -print0 |
|
find tests -name "*.yml" -print0 |
|
||||||
while IFS= read -d -r '' line; do
|
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
|
done
|
||||||
|
|
||||||
#git diff
|
#git diff
|
||||||
|
|||||||
Reference in New Issue
Block a user