refactor(packages): directly pipe python script into ansible
This commit is contained in:
parent
8945449613
commit
bc98c00950
4 changed files with 85 additions and 74 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue