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.

Provisioning is the act of preparing a system to allow it to provide new services to its consumers. Provisioning is related to the concept of and .

Questions about the automated creation of systems through technologies such as Terraform, AWS Cloud Formation and Azure Resource Manager should have this tag.

23 questions
37
votes
6 answers

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 wondering how best to implement testing on the…
Naphta
  • 627
  • 6
  • 9
11
votes
2 answers

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 environment variables?' Firstly some…
10
votes
3 answers

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 need after the VM is ready. The problem is, I can…
Lucas Mattos
  • 201
  • 1
  • 3
5
votes
3 answers

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 making the very first interface a virtual box NAT…
keyboard
  • 73
  • 4
4
votes
0 answers

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 repository. I'm not sure how do this with FAI. Docker…
igal
  • 1,590
  • 1
  • 11
  • 15
4
votes
1 answer

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-> Docker Is Packer to AWS as Matchbox is to Baremetal, in terms of image…
scott
  • 466
  • 4
  • 11
4
votes
1 answer

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 do? Thank you
3
votes
1 answer

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 spinning up a multi-machine environment in vagrant, e.g.…
LLlAMnYP
  • 285
  • 1
  • 9
3
votes
2 answers

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 supposed to result in "one tool to rule them all".…
3
votes
1 answer

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="env python3"\r\n' > /etc/ansible/hosts ADD .…
kenorb
  • 8,011
  • 14
  • 43
  • 80
2
votes
1 answer

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 on alpine linux to do their work and at peak times…
LLlAMnYP
  • 285
  • 1
  • 9
2
votes
0 answers

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? And what, if anything, can I do to work around…
igal
  • 1,590
  • 1
  • 11
  • 15
2
votes
1 answer

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've been having loads of issues with uploading Fusion…
Rekovni
  • 933
  • 10
  • 24
2
votes
1 answer

What are minimum permissions required for an IAM user to provision EC2 instances?

I want to provision an EC2 instance with Ansible. So for that purpose I want to create a separate IAM user to keep things clear. I can assign the full EC2 access to the user. But I don't want any other part of my account be affected if something bad…
2
votes
2 answers

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 directory is in the same directory as the Ansible…
Kyu96
  • 145
  • 3
  • 17
1
2