get docker going

This commit is contained in:
decentral1se 2022-05-31 07:56:36 +02:00
parent e54b8fd503
commit 06b1dd0d3d
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
1 changed files with 5 additions and 1 deletions

View File

@ -8,8 +8,12 @@ steps:
REMOTE_USER: molecule
HCLOUD_TOKEN:
from_secret: HCLOUD_TOKEN
volumes:
name: docker_sock
path: /var/run/docker.sock
commands:
- apt update && apt install -y pwgen
- apt update && apt install -y pwgen curl
- curl -fsSL https://get.docker.com | bash
- mkdir -p /root/.ansible/roles && ln -sr . /root/.ansible/roles/autonomic.new-hetzner
- export INSTANCE_UUID=$(pwgen 8 1)
- pip install -r requirements.txt