Skip to content

Romiko/DockerUbuntuDev

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Introduction

This docker image can be used to spawn a sibling Docker Container in a Azure Devops Agent,

Getting Started

  1. Setup your Release Pipeline
  2. Ensure you choose a build Agent that has Docker Socket capability
  3. Configure a pipeline task to execute Ansible with your playbooks
  4. Azure Agent must be exposing Docker Socket - To spawn sibling containers

PipelineAzure CI Task 2.x - Inline Script Sample

` set -x

docker run --rm -v $(System.DefaultWorkingDirectory)/rangerrom/logstash:/playbooks/ /
"cd /playbooks/ansible; ansible-playbook --version; az login --service-principal --username $servicePrincipalId --password $servicePrincipalKey --tenant $tenantId; az account set --subscription $subscription;ansible-playbook logstash-playbook.yaml -i inventory_$(env)_azure_rm.yml --extra-vars "ansible_ssh_pass=$(clientpassword)"" `

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published