diff --git a/roles/cloud-hetzner/tasks/main.yml b/roles/cloud-hetzner/tasks/main.yml index 6b01a2ab3..e30ae008e 100644 --- a/roles/cloud-hetzner/tasks/main.yml +++ b/roles/cloud-hetzner/tasks/main.yml @@ -1,4 +1,7 @@ --- +- name: Build python virtual environment + import_tasks: venv.yml + - name: Include prompts import_tasks: prompts.yml diff --git a/roles/cloud-hetzner/tasks/venv.yml b/roles/cloud-hetzner/tasks/venv.yml new file mode 100644 index 000000000..52f588a00 --- /dev/null +++ b/roles/cloud-hetzner/tasks/venv.yml @@ -0,0 +1,7 @@ +--- +- name: Install requirements + pip: + name: + - hcloud + state: latest + virtualenv_python: python3