Update roles/build_fastapi/tasks/main.yml
This commit is contained in:
@@ -20,6 +20,15 @@
|
||||
command:
|
||||
cmd: source "{{ build_root_abspath }}/venv/bin/activate"
|
||||
cmd: pip install "fastapi[all]"
|
||||
- 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
|
||||
when: py3_result.rc == 0
|
||||
- name: Build container image
|
||||
community.docker.docker_image:
|
||||
name: helloworld-fastapi
|
||||
|
||||
Reference in New Issue
Block a user