Merge pull request #48 from speechmatics/extra-args

Add support for extra_args
This commit is contained in:
Jeff Geerling 2022-08-25 15:23:44 -05:00 committed by GitHub
commit 0360ca42ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -51,6 +51,10 @@ A list of packages to install with pip. Examples below:
- name: docker
virtualenv: /my_app/venv
# Or pass through any extra arguments.
- name: my_special_package_from_my_special_repo
extra_args: --extra-index-url https://my-domain/pypi/pypi-master/simple
## Dependencies
None.

View File

@ -10,5 +10,6 @@
version: "{{ item.version | default(omit) }}"
virtualenv: "{{ item.virtualenv | default(omit) }}"
state: "{{ item.state | default(omit) }}"
extra_args: "{{ item.extra_args | default(omit) }}"
executable: "{{ pip_executable }}"
loop: "{{ pip_install_packages }}"