<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>

CC BY-SA 3.0
2018-03-12T07:23:32.023Z
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.
Rıfat Erdem Sahin
CC BY-SA 4.0
2018-03-08T22:03:03.597Z
2018-11-09T18:21:57.687Z
2018-11-09T18:21:57.687Z
030
<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>

<ansible><azure-devops><appveyor><azure-pipelines>
Installing Ansible Controllers to build agents which best practice to use?
Rıfat Erdem Sahin
# 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.  

---

