Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conditions and list extensions for linux #71

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions tasks/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,15 @@

- name: Add deployment group tags
set_fact:
deployment_agent_cmd_args: "{{ deployment_agent_cmd_args }} +
['--addDeploymentGroupTags', '--deploymentGroupTags \\'{{ az_devops_deployment_group_tags }}\\'']"
deployment_agent_cmd_args: "{{ deployment_agent_cmd_args + ['--addDeploymentGroupTags', '--deploymentGroupTags' , az_devops_deployment_group_tags ] }}"
when:
- az_devops_deployment_group_tags is defined
- az_devops_deployment_group_tags is not none

- name: Set proxy
set_fact:
agent_cmd_args: "{{ agent_cmd_args }} + ['--proxyurl \\'{{ az_devops_proxy_url }}\\'', '--proxyusername \\'{{ az_devops_proxy_username }}\\'', '--proxypassword \\'{{ az_devops_proxy_password }}\\'']"
agent_cmd_args: "{{ agent_cmd_args + ['--proxyurl' , az_devops_proxy_url, '--proxyusername' , az_devops_proxy_username, '--proxypassword', az_devops_proxy_password ] }}"
when:
- az_devops_proxy_url is defined
- az_devops_proxy_url is not none

- name: Download and unarchive
unarchive:
Expand Down Expand Up @@ -139,9 +138,9 @@

- name: Add '--replace' configuration argument
set_fact:
build_agent_cmd_args: "{{ build_agent_cmd_args }} + ['--replace']"
deployment_agent_cmd_args: "{{ build_agent_cmd_args }} + ['--replace']"
resource_agent_cmd_args: "{{ resource_agent_cmd_args }} + ['--replace']"
build_agent_cmd_args: "{{ build_agent_cmd_args + ['--replace'] }}"
deployment_agent_cmd_args: "{{ build_agent_cmd_args + ['--replace'] }}"
resource_agent_cmd_args: "{{ resource_agent_cmd_args + ['--replace'] }}"
when:
- az_devops_agent_replace_existing

Expand Down
6 changes: 6 additions & 0 deletions vars/dependencies-Ubuntu-22.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
az_devops_agent_dependencies:
- libcurl4
- libgssapi-krb5-2
- libicu70
- libssl1.1
- acl