feat: add pipx packages via file and add docker group

This commit is contained in:
Matthieu Bessat 2024-06-10 23:30:00 +02:00
parent 47c88e5e72
commit d9cfb729ec
8 changed files with 35 additions and 14 deletions

View file

@ -9,7 +9,11 @@ export ANSIBLE_CONFIG=$base/ansible.cfg
export ANSIBLE_LOG_PATH=ansible_run.log
cd $base
python3 parse_arch_packages.py > arch_packages.json
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
@ -17,10 +21,10 @@ ln -s $workdir $base/vm_files
ansible-playbook $base/workstation.yaml \
-v \
--ask-become-pass \
-u "mbess" \
-i "inventory.yaml" \
--ssh-extra-args "-o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22 -i ./master_sshkey" \
--extra-vars "@$workdir/vars.yaml" \
--extra-vars "ansible_sudo_pass=pidell43"
#--start-at-task "Create the aur_builder user"
--start-at-task "Install pip packages"