Skip to content

Ansible Role that install and configure self-hosted Azure Devops agent on Linux machines

License

Notifications You must be signed in to change notification settings

mateoops/azure-devops-agent-ansible-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Azure Devops (Pipeline) agent install

Ansible Role

Role install and configure Azure Devops Pipeline agent on Linux machines.

Requirements

None.

Role Variables with default values

Set organization url (for Azure Pipelines: https://dev.azure.com/{yourorganization})

az_agent_server_url: null

Set user PAT (generation instructions: LINK)

az_agent_pat: null

Specify agent version:

az_agent_version: 3.246.0

Provide name of existing agent pool

az_agent_pool_name: Default

Specify user details. If not exists - role will create.

az_agent_user: az-agent
az_agent_directory: /opt/az-agent/

Set this flag to allow reinstall agent if exists. :warning: Before reinstalling make sure the agent has been removed from the pool

az_agent_allow_reinstall_existing_agent: false

Dependencies

None.

Example Playbook

No information needed.

License

GPLv3

Author Information

Mateusz Pietrzak mateoops

About

Ansible Role that install and configure self-hosted Azure Devops agent on Linux machines

Resources

License

Stars

Watchers

Forks

Packages

No packages published