Answers: <p>Infrastructure as code means that the infrastructure configuration is stored in a version control system (VCS). If changes will be applied, it is traceable who changed the code and when.</p>
  
  <p>Although it is unclear to me what the aim is of your question, it is possible to use a continuous integration (CI) tool like, Jenkins, gitlab, circleci that pulls the code from git, installs ansible or use an image that contains ansible in order to run a playbook.</p>
  
Answers: CC BY-SA 3.0
Answers: 2018-03-12T07:23:32.023Z
Answers: Hosted solutions don’t let us install custom software. I am now considering to use Kubernetes to have a holistic infrastructure. Also having the image ready could speed up the construction time.
Answers: Rıfat Erdem Sahin
Answers: CC BY-SA 4.0
Answers: 2018-03-08T22:03:03.597Z
Answers: 2018-11-09T18:21:57.687Z
Answers: 2018-11-09T18:21:57.687Z
Answers: 030
Body: <p>Trying to implement <strong>infrastructure as code</strong>. I need the ansible controller machine which pulls the updated playbooks from the git and run the playbooks to create the infrastructure. The issue is I have tried VSTS and AppVeyor and their build agents do not have Ansible installed.</p>
  
  <p>Should I use my build agent for this task? I am looking for open source and free solutions for the open source project.</p>
  
Tags: <ansible><azure-devops><appveyor><azure-pipelines>
Title: Installing Ansible Controllers to build agents which best practice to use?
UserDisplayName: Rıfat Erdem Sahin
ThreadText: # Installing Ansible Controllers to build agents which best practice to use?
  
  (Asked by: username_0 on 2018-03-08)
  
  Trying to implement **infrastructure as code**. I need the ansible controller machine which pulls the updated playbooks from the git and run the playbooks to create the infrastructure. The issue is I have tried VSTS and AppVeyor and their build agents do not have Ansible installed.
  
  Should I use my build agent for this task? I am looking for open source and free solutions for the open source project.
  
  **Tags:** ansible, azure-devops, appveyor, azure-pipelines
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-03-08. Score: 4 | Accepted answer
  
  Infrastructure as code means that the infrastructure configuration is stored in a version control system (VCS). If changes will be applied, it is traceable who changed the code and when.
  
  Although it is unclear to me what the aim is of your question, it is possible to use a continuous integration (CI) tool like, Jenkins, gitlab, circleci that pulls the code from git, installs ansible or use an image that contains ansible in order to run a playbook.
  
  > **Comments:**
  > **username_0**: Hosted solutions don’t let us install custom software. I am now considering to use Kubernetes to have a holistic infrastructure. Also having the image ready could speed up the construction time.  
  
  ---
  
  