Giter VIP home page Giter VIP logo

vsts's Introduction

VSTS

This role install the VSTS Build Agent on Windows or Linux servers.

Requirements

There are no external requirements for this role.

Role Variables

There are a few variables that can be set from the playbook if you like.

download_dir

This is the directory where the VSTS installation package will be downloaded to.

Windows Default

  download_dir: "C:\\Windows\\Temp"

Linux Default

  download_dir: "/tmp"

vsts_dir

This is the directory where VSTS will be extracted into

Windows Default

  vsts_dir: "C:\\vsts"

Linux Default

  terraform_dir: "/opt/vsts"

vsts_version

This is the version of the VSTS agent that will be installed, the complete list can be found on the Azure Pipelines Github Releases page.

  vsts_version: 2.175.2

Unattended Required Variables

The following list of variables are used for installation of the agent, this role deploys a specific way currently, hopefuly as I progress more with Ansible this role will become more flexible. The complete list of options for Windows or Linux.

vsts_url

This is your Azure Devops Organization URL

  vsts_url: https://dev.azure.com/myorganizationame

vsts_auth

This variable defines the authentication option, we default to PAT

vsts_token

This is the PAT token that is generated from within your Azure Devops Organization see here.

vsts_pool

This is the name of the pool that your server will belong to see here.

vsts_account

This is used for the Windows Installation, an admin account for the service to run as, currently this role does not create a user account.

vsts_password

This is used for the Windows Installation, an admin account for the service to run as, currently this role does not create a user account.

Dependencies

There are no external dependencies for this role.

Example Playbook

This example shows the basic use of this role.

    - hosts: all
      roles:
         - vsts
      vars:
        vsts_url: "https://dev.azure.com/myorganization"
        vsts_token: "PAT TOKEN"
        vsts_pool: "BuildAgents"
        vsts_account: "Administrator"
        vsts_password: "P@ssw0rd"

License

MIT

Author Information

My name is Jeff Patton, feel free to contact me via issues.

vsts's People

Contributors

jeffpatton1971 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.