Update roles/build_fastapi/tasks/main.yml
This commit is contained in:
@@ -20,14 +20,6 @@
|
|||||||
command:
|
command:
|
||||||
cmd: source "{{ build_root_abspath }}/venv/bin/activate"
|
cmd: source "{{ build_root_abspath }}/venv/bin/activate"
|
||||||
cmd: pip install "fastapi[all] docker docker-compose"
|
cmd: pip install "fastapi[all] docker docker-compose"
|
||||||
- name: Check and install Python's SDK
|
|
||||||
ansible.builtin.pip:
|
|
||||||
name:
|
|
||||||
- docker==5.0.3
|
|
||||||
- jsondiff==1.3.0
|
|
||||||
- pyyaml==6.0
|
|
||||||
- docker-compose==1.29.2
|
|
||||||
executable: pip3
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
community.docker.docker_image:
|
community.docker.docker_image:
|
||||||
name: helloworld-fastapi
|
name: helloworld-fastapi
|
||||||
|
|||||||
Reference in New Issue
Block a user