Skip to content

Romiko/DockerUbuntuDev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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