refactor(packages): directly pipe python script into ansible

This commit is contained in:
Matthieu Bessat 2024-07-11 12:05:59 +02:00
parent 8945449613
commit bc98c00950
4 changed files with 85 additions and 74 deletions

View file

@ -10,14 +10,6 @@ export ANSIBLE_CONFIG=$base/ansible.cfg
#export ANSIBLE_DEBUG=1
export ANSIBLE_LOG_PATH=ansible_run.log
cd $base
cat arch_packages.yaml | python3 parse_arch_packages.py > arch_packages.json
cd $workdir
cd $base
cat pip_packages.yaml | python3 parse_arch_packages.py > pip_packages.json
cd $workdir
rm $base/vm_files
ln -s $workdir $base/vm_files