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

15 lines
377 B
Bash
Raw Normal View History

2023-04-28 15:15:53 +02:00
#!/bin/bash -xe
# install ansible
2023-06-14 12:26:26 +02:00
apt-get update
apt-get -y install ansible curl
#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