2022 Developer Survey is open! Take survey.

Hot answers tagged

3 votes

Why use configuration management tools in the world of modern cloud?

Generally, things like Packer and Terraform handle most straight infra requirements best in the cloud. Of course, if you have kubernetes up already, it’s the same deal. A packer (or other AMI) image ...
user avatar
3 votes
Accepted

Why use configuration management tools in the world of modern cloud?

What value does Ansible have in a modern cloud environment? As the comments say, it depends on your needs. But I think there is value in considering this sort of thing, so I'm going to answer this ...
user avatar
  • 1,728
2 votes
Accepted

In Ansible, how do I assign a hostvar to a playbook's host?

To be evaluated, a variable must be closed in quoted double curly braces, e.g. - hosts: "{{ hostvars.localhost.aws_instance_host_group }}" The dot notation simplifies the code. Minimal ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible