debian.ansible.docker/build-debian-env.sh

14 lines
360 B
Bash
Raw Normal View History

2023-04-28 15:15:53 +02:00
#!/bin/bash -xe
# install ansible
2023-04-28 15:38:47 +02:00
apt-get -y install python3-pip
2023-04-28 15:18:55 +02:00
pip install ansible
2023-04-28 15:15:53 +02:00
cd /root
rm -rf $(hostname -s)-git
mkdir $(hostname -s)-git
cd $(hostname -s)-git
2023-05-02 09:44:10 +02:00
curl https://gitea.ds9.dedyn.io/olli/debian.ansible.basics/raw/branch/main/basics.yml >basics.yml
2023-05-01 22:09:22 +02:00
ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) basics.yml