Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
a5f85338
Unverified
Commit
a5f85338
authored
2 years ago
by
santhosh-tg
Committed by
GitHub
2 years ago
Browse files
Options
Download
Patches
Plain Diff
Change condition to match boolean (#3623)
parent
1f4f735d
upstream/release-5.1.0-vdn
login-changes
loginRegisterBtn
prasath-release-5.1.0
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uat
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
release-5.1.0_RC3
release-5.1.0_RC2
release-5.1.0_RC1
1 merge request
!16
Release 5.1.0 api
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/roles/azure-cloud-storage/tasks/blob-upload-batch.yml
+1
-1
...ble/roles/azure-cloud-storage/tasks/blob-upload-batch.yml
ansible/roles/azure-cloud-storage/tasks/blob-upload.yml
+1
-1
ansible/roles/azure-cloud-storage/tasks/blob-upload.yml
ansible/roles/azure-cloud-storage/tasks/upload-using-azcopy.yml
+1
-1
...e/roles/azure-cloud-storage/tasks/upload-using-azcopy.yml
with
3 additions
and
3 deletions
+3
-3
ansible/roles/azure-cloud-storage/tasks/blob-upload-batch.yml
+
1
−
1
View file @
a5f85338
...
...
@@ -3,7 +3,7 @@
include_role
:
name
:
azure-cloud-storage
tasks_from
:
container-create.yml
when
:
create_container ==
"
True
"
when
:
create_container == True
-
name
:
upload files and folders - uploading {{ blob_container_name }}{{ blob_container_folder_path }}
shell
:
"
az
storage
blob
upload-batch
--destination
{{
blob_container_name
}}{{
blob_container_folder_path
}}
--source
{{
local_file_or_folder_path
}}
--account-name
{{
storage_account_name
}}
--account-key
{{
storage_account_key
}}"
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/azure-cloud-storage/tasks/blob-upload.yml
+
1
−
1
View file @
a5f85338
...
...
@@ -3,7 +3,7 @@
include_role
:
name
:
azure-cloud-storage
tasks_from
:
container-create.yml
when
:
create_container ==
"
True
"
when
:
create_container == True
-
name
:
upload file to azure storage container
shell
:
"
az
storage
blob
upload
--container-name
{{
blob_container_name
}}
--file
{{
local_file_or_folder_path
}}
--name
{{
blob_file_name
}}
--account-name
{{
storage_account_name
}}
--account-key
{{
storage_account_key
}}"
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/azure-cloud-storage/tasks/upload-using-azcopy.yml
+
1
−
1
View file @
a5f85338
...
...
@@ -3,7 +3,7 @@
include_role
:
name
:
azure-cloud-storage
tasks_from
:
container-create.yml
when
:
create_container ==
"
True
"
when
:
create_container == True
-
name
:
upload files and folders to azure storage using azcopy
shell
:
"
azcopy
copy
{{
local_file_or_folder_path
}}
'https://{{
storage_account_name
}}.blob.core.windows.net/{{
blob_container_name
}}{{
blob_container_folder_path
}}{{
storage_account_sas_token
}}'
--recursive"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets