Questions tagged [provisioning]

Provisioning is the act of preparing a system to allow it to provide new services to its consumers. Questions about the automated creation of systems through technologies such as Terraform, Cloud Formation and Azure Resource Manager should have this tag.

Filter by
Sorted by
Tagged with
0
votes
3answers
30 views

How to send local files using Terraform Cloud as remote backend?

I am creating AWS EC2 instance and I am using Terraform Cloud as backend. in ./main.tf: terraform { required_version = "~> 0.12" backend "remote" { hostname = "app.terraform.io" ...
1
vote
2answers
74 views

Ansible - Copy multiple files

I am trying to copy multiple files to the target like so: tasks: - name: "Copying files" copy: src: files/{{ item }} dest: /my/folder/ with_items: - file.txt The files ...
0
votes
2answers
41 views

Cannot install Ansible

So I am creating a packer template for docker with the image php:7.0-apache. I added a shell provisioner where I try to install ansible so I can provision the image: { "type": "shell", ...
2
votes
1answer
9 views

I'm trying to run `vagrant provision` on PowerShell Window for Ansible playbook

Here is what it replies: Windows is not officially supported for the Ansible Control Machine. Please check https://docs.ansible.com/intro_installation.html#control-machine-requirements What should I ...
1
vote
0answers
16 views

Does CDK perform orchestration ? apart from provisioning

We used CloudFormation/Terraform for provisioning resources in AWS. Provisioning is about creating a new state or transforming one state to another. We used ansible tool to orchestrate provisioning ...
1
vote
1answer
20 views

How do I bootstrap an alpine image to work with a private repo proxy behind TLS?

I am in a corporate environment behind a gateway that does DPI and often replaces the TLS certificate of most online resources with our corporate certificate. Many of our developers use images based ...
1
vote
1answer
41 views

Proper way to showcase multi-container web app to customers

I have a web app consisting of multiple services (authentication service, database, main web app..), and each of these services can run in container. Currently, when a customer ask for a demo, I am ...
2
votes
1answer
225 views

How do I automate population of known_hosts and authorized_keys?

This is a question that may be easier answered on askubuntu or, perhaps, serverfault, but it arises in the context of automated provisioning, so I figured that it's more appropriate here. I am ...
2
votes
2answers
175 views

Open source private cloud VM provisioning for container workload

There is a new generation of tooling developed that tries to integrate different IaaS providers (Azure/AWS/GCE/DigitalOcean) into one "infrastructure codebase". It's dubbed "Cloud Native" and it's ...
1
vote
0answers
108 views

Tools for provisioning windows testing environment on Hyper-V [closed]

I'm looking for tools that would help our team create and manage environments for our internal testing and debugging. Each environment consists of single windows server and multiple windows clients. ...
2
votes
1answer
117 views

Why screen folder in /var/run disappears in Docker container after running Ansible playbook?

Files I've got the following Dockerfile: FROM ansible/ansible:ubuntu1604py3 ENV DEBIAN_FRONTEND noninteractive RUN pip3 install ansible RUN printf '[local]\r\nlocalhost ansible_python_interpreter="...
5
votes
3answers
116 views

Other tools to provision virtual machines

I've been using vagrant for provisioning virtual machines (Linux only) and so far I've been happy with it. The two things I dislike about it - the hardcoded dependency on the user vagrant as well as ...
2
votes
0answers
29 views

Actions Performed During FAI Repository Task Do Not Persist

Question My hook script for the repository task (see the list of FAI tasks) doesn't seem to be having an effect on the final state of installation. Why not? Is this the expected behavior? If so, why? ...
3
votes
0answers
63 views

Installing Packages from a 3rd Party Repository with FAI

Problem I want to install Docker CE on a Debian Stretch system using Fully Automatic Installation (FAI). The official Docker documentation recommends that you install Docker using their package ...
4
votes
1answer
182 views

difference between packer and matchbox

I have this setup to standup a baremetal machine: Terraform-> Matchbox \-> Chef-> Docker My colleague has a setup to standup VMs in AWS: Terraform-> Packer-> Chef-> ...
10
votes
3answers
910 views

How to test VM provisioning script without provisioning

Currently I'm on a state that testing costs me money and a lot of time... Background: I'm deploying VMs at softlayer and using a post-deployment script(bash) that will install every software that I ...
2
votes
1answer
380 views

Deploying to VSphere with Packer and/or Terraform?

Scenario: Creating multiple VMs and deploying them to VSphere. Current development uses Packer and Ansible to provision a Fusion VM, with the aim of using Terraform to deploy to VSphere. Issue: I'...
11
votes
2answers
1k views

How should I store my environment variables?

This is a very broad question about methods and advice regarding environment variables / structure. But ultimately I'm looking for answers for the very specific question of 'How should I store my ...
33
votes
5answers
5k views

How to test provisioning and configuration in Ansible setup?

Looking at trying to build some resilience into our Ansible setup which deals with provisioning and configuration. I understand a few methods of testing on the configuration side of things but I'm ...