Skip to content

Commit

Permalink
ADHOC extract azure pip packages into separate variable.
Browse files Browse the repository at this point in the history
This will allow us to override the variable on the project level and specify exact package version if needed.
  • Loading branch information
Vladyslav Smirnov committed Aug 18, 2021
1 parent 45cee89 commit 8ea3140
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 8 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,11 @@ import_db_tmp_path: "/tmp/import_db"
# until: job_result.finished
# retries: 30
import_db_allow_async: false

## This is the list of required dependencies for Azure
## do not override this variable unless you know what you are doing,
## package dependencies should only be overridden in edge cases or to enforce a specific version
azure_python_package_dependencies:
- packaging
- msrestazure
- ansible[ azure ]
5 changes: 1 addition & 4 deletions tasks/dependencies/azure-blob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@
state: "latest"
become: "True"
become_user: "root"
with_items:
- packaging
- msrestazure
- ansible[azure]
with_items: "{{ azure_python_package_dependencies }}"

0 comments on commit 8ea3140

Please sign in to comment.