Add simple bootstrappling to localhost-deploy
This commit is contained in:
parent
0ba9143a18
commit
54d2d2b126
@ -5,6 +5,11 @@
|
|||||||
#
|
#
|
||||||
# Distributed under terms of the MIT license.
|
# Distributed under terms of the MIT license.
|
||||||
#
|
#
|
||||||
|
set -e
|
||||||
|
if ! command -v ansible > /dev/null 2>&1; then
|
||||||
|
printf "Installing Ansible and related packages\n"
|
||||||
|
sudo apt-get install python3-pip python3-setuptools -y
|
||||||
|
sudo pip3 install ansible
|
||||||
|
fi
|
||||||
ansible-playbook desktop.yml --ask-vault-pass --ask-become-pass
|
ansible-playbook desktop.yml --ask-vault-pass --ask-become-pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user