Questions tagged [configuration-management]

Software configuration management (SCM) is the task of tracking and controlling changes in the software deployments

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

How to implement simple distributed configuration system

I have multiple servers running in data centers around the world. Each server has its own configuraiton database, and cli command needs to be executed to update in-memory cache. I want to automate ...
Shadow's user avatar
  • 111
1 vote
1 answer
58 views

Is terraform good option for data management

I have complex stack which consists of infrastructure, application and config parts, which are deployed to datacenters around the world. We have custom inhouse configuration system, based on database ...
Shadow's user avatar
  • 111
0 votes
2 answers
213 views

why does my Ansible playbook throw "Found existing installation: requests 2.25.1\n\n:stderr:ERROR: Cannot uninstall requests 2.25.1"?

I'm trying to run an ansible playbook that installs docker and docker-compose and runs a compose file on a ec2 t2.micro. To use the docker modules in ansible, I need to have docker and docker-compose ...
Keshav Singh N's user avatar
0 votes
0 answers
37 views

Inject configuration from Terraform into Kubernetes without hardcoding

I have a pretty simple setup: An AWS DocumentDB managed using Terraform A container running on EKS, managed in a Flux (GitOps) repository The container needs to access the DocumentDB, so somehow I ...
ggradnig's user avatar
  • 113
0 votes
0 answers
14 views

How to add email users to On-Premise Azure

I recently installed an on-premise server on my local machine to test how viable it would be for my company's need. After setting everything up, I chose something like "https://example" as ...
Alexandre Severino's user avatar
4 votes
2 answers
136 views

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

Configuration management tools like Ansible, Chef, Puppet, and Saltstack allows us to configure a cluster of blank machines to help install and deploy an application. For example, with Ansible, we can ...
user34926's user avatar
3 votes
2 answers
1k views

How to manage Env Variables / Configs on a Helm Chart + Github Actions + Github Secrets

I have a Rest API in Python that has several Configuration variables that are setup at startup time. This variables are read from the environment variables of the host machine. Our production ...
Pablo Estrada's user avatar
2 votes
1 answer
406 views

Ansible - Variable expansion inside hostvars declaration?

I have a hardcoded hostvars line, like so: node1_hostname={{ hostvars['192.168.0.162']['node1_hostname'] }} I have a set_fact variable from a previous play that I'd like to expand in the host section ...
synth45's user avatar
  • 61
1 vote
2 answers
58 views

Tool to produce nice output about desired vs. current state

I've been trying to stick to the "infrastructure as code" principle as much as possible in my work. But after the devops project got more complicated I started loosing the centralized ...
Mirek's user avatar
  • 121
2 votes
2 answers
1k views

Ansible - merging inventories to share variables across?

Is it possible to merge inventories so I can share variables across them? Let's say I have two inventory files. Inventory A and Inventory B. They are both in a directory called inventories. Variables ...
synth45's user avatar
  • 61
1 vote
1 answer
944 views

Ansible dynamic inventory using AWS plugin -- how to obtain internal DNS records or private IP?

Seeking help from those who've worked with dynamic inventory in Ansible. I have Ansible set up with the aws_ec2 plugin (not using the python script as it's been too problematic). Currently, I'm only ...
synth45's user avatar
  • 61
0 votes
2 answers
183 views

One Repository for Kubernetes configuration or one configuration per application repository

We are currently migrating our Services to a Kubernetes environment. My question is if the configuration yaml file for each application should be in the repository where the application source itself ...
wertzui's user avatar
  • 101
3 votes
2 answers
460 views

Can we use Ansible for monitoring configuration?

I understand how Ansible works and what it is used for. However, I was wondering if there is a way or feature (in open-source or enterprise edition) in Ansible using which, we can make sure that the ...
Amit Yadav's user avatar
2 votes
1 answer
646 views

straight python alternative to ansible

Can anyone recommend an alternative to Ansible that lets one write straight Python code? In my group, we're finding that expressing pretty simple logic in Ansible ends up being too time-consuming and ...
Mike's user avatar
  • 123
0 votes
1 answer
64 views

What are the daily job duties of a devops? [duplicate]

I have been working for linux management over 10 years. In the last 5 years, I have added a lot of coding experience through software development like php, ruby, go, etc. I wanna be a devops, but I ...
brian's user avatar
  • 1
4 votes
1 answer
3k views

Angular config maps in kubernetes

How can I integrate a config map into my angular application in kubernetes? Any useful blogs or videos implementing this would be helpful. I found a few, but they didn't work for me.
Madan's user avatar
  • 101
1 vote
1 answer
207 views

Common config in Kubernetes ConfigMap

Kubernetes already provides a way to manage configuration with ConfigMap. However, I have a question/problem here. If I have multiple applications with different needs deployed in Kubernetes, all ...
edwin's user avatar
  • 111
1 vote
1 answer
81 views

Where do you store your configurations? Dockerfiles, gitlab-ci, application.properties, deploy scripts

Let´s suppose that our repository contents is something that will be shared. Is strange that we include the deploy scripts there, explaining how to deploy in our machines
irbian's user avatar
  • 11
3 votes
2 answers
4k views

Ansible configure and compile in directory

So I have have an Ansible Task that extracts a programs sourcecode zip into a certain directory and is then supposed to compile and install it. The extraction of the zip works fine, but then I need to ...
Kyu96's user avatar
  • 115
4 votes
1 answer
216 views

Why is developing Ansible Playbooks using Roles a best practice?

It's a best practice to develop Ansible Playbooks with reusable roles. From what I've seen, people end up putting all their roles into a single complex files anyways. So it doesn't really fix the ...
QuestionTime247's user avatar
-2 votes
1 answer
102 views

Build one time, deploy multiple times. How does this apply to configuration?

I've heard about deployment pattern which sounds like "build one time, deploy multiple times". If I manage the configuration via e.g. ansible templates or chef or any other CM tools, I don't have any ...
rush's user avatar
  • 151
2 votes
2 answers
78 views

What are sources for configuration management best practices?

I'm struggling with design for configuration management for a complex on-premise enterprise application with lots of moving parts. While it's fun and joy to go through this, there are lots of ...
rush's user avatar
  • 151
4 votes
4 answers
3k views

How to manage 10+ team environments with Helm and Kubernetes?

I'm looking for feedback on how we can improve our team environment and staging deployment process. We currently have 10 agile teams, and set up our Kubernetes deployments through Helm as follows: ...
avi's user avatar
  • 1,279
3 votes
2 answers
9k views

Kubernetes on k3s can't resolve domains from custom dns server (fritz.box with dnsmasq)

I have a dns server running at 192.168.0.19 for custom domains like .fritz.box. Having a single node cluster on k3s, Rancher was installed using a subdomain server2.fritz.box using this command: ...
Lion's user avatar
  • 191
1 vote
1 answer
102 views

Chef vs Ansible: will configuration be applied if connection is lost during configuration pulling/pushing?

Scenario Configuration management tools like Ansible or Chef often have a master/controlling machine and the machines they are controlling (agents). Question What if the connection between master ...
Tran Triet's user avatar
5 votes
2 answers
678 views

If we are using containers do we still need to worry about configuration management at an infrastructure level?

We are about to begin our journey with containers and I am wondering if we still need to utilize something like Chef, Ansible, Terraform, etc. to ensure that our infrastructure is properly maintained? ...
Wunderbread's user avatar
1 vote
3 answers
102 views

What are the tools you recommend for deploying / automating / organizing vm in the private cloud

I manage a set of virtual servers in a private cloud on vSphere. In this private cloud we have several sets of servers that host several web applications such as: -Webpress web sites -Phone ...
tmedtcom's user avatar
  • 113
2 votes
2 answers
92 views

How do configuration management tools deal with someone messing up configuration files manually?

I'm researching a bunch of configuration management tools, like, Salt, Chef, Puppet, Ansible, etc. and am trying to understand how they deal with someone manually changing a config file on the server ...
Saurabh Nanda's user avatar
0 votes
3 answers
151 views

Is there a php (or composer) command to change upload_max_filesize && post_max_size from terminal?

Is there a php (or composer) terminal command to change the php.ini variables upload_max_filesize and post_max_size from terminal to some value directly from terminal, without sed or awk operations? ...
user avatar
-1 votes
1 answer
50 views

Maximally-self-managed hosting-platforms and OS-and-above containerizators (like Vagrant)

A maximally-self-managed hosting-platform like DigitalOcean/Linode lets a customer quickly create its own VPSE (Virtual Private Server Environment) which includes a common FOSS operating system like ...
user avatar
6 votes
3 answers
122 views

What are some clear benefits of running master/agent configuration management?

Ansible seems to have a clear advantage over competition like chef and puppet because it is agent-less and saves a certain degree of overhead. I have read several comparisons of the various ...
ARL's user avatar
  • 203
2 votes
1 answer
117 views

How do you handle the huge number of possible permutations of Dockerfiles / Teraform files?

We have adopted Docker and Terraform as the foundation forour devOps. We have a basic version of it up and running today. Dockerfiles live in each projects git repository and Terraform files are more ...
Development 4.0's user avatar
-1 votes
1 answer
357 views

CD (Continuous Deployment) best practices for managing configuration [duplicate]

My CD pipeline: Get docker image (created and pushed during CI stage) Copy docker-compose .yml template to target server Run the app Let's go straight to the 3rd point. I can run the app using ...
CryptoNewbie's user avatar
3 votes
1 answer
327 views

Where are dunder dictionaries stored in salt?

I am new to Salt-Stack wanted to know where are all the dunder dictionaries stored? For example __salt__, __opts__, __grains__, __beacons__).
Dheeraj Chelaramani's user avatar
5 votes
1 answer
124 views

How to properly automate CM based on log events?

Let's say I have a number of tools like Docker bench security, some static security scanners, etc. Now I have let's say free Ansible edition (no expenses are considered). I have lots of logs, but not ...
kol23's user avatar
  • 159
1 vote
1 answer
42 views

Is there a common name for describing "spans" of versions?

I'm looking for a way to pithily define a abstract term that declares all versions that a bug effects, or that a feature behaved a certain way. For example, feature X worked way Y in versions 1.3 to ...
Jim's user avatar
  • 13
3 votes
1 answer
71 views

Do you use existing automation code (cookbooks/playbooks/dockerfiles/etc) or you write your own from scratch?

I noticed that many cookbooks/playbooks/... are not of particularly high quality, and even if they are they rarely cover all cases. So it should be expanded with my custom logic everytime, while 90% ...
ilya-lesikov's user avatar
2 votes
1 answer
92 views

Looking for a Desired State and Configuration as Code central configuration management framework

I am looking for a central configuration management framework that supports the following scenarios: Desired State Configuration. My expectation is to express the desired configuration in code and ...
mark's user avatar
  • 191
2 votes
1 answer
120 views

In a modern IaaS microservice based system is Zookeeper still a useful tool?

I've used zookeeper before as a configuration management service to keep track of application settings, feature toggles etc. However, that was back in the day before microservices and AWS/Azure/GCP. ...
avi's user avatar
  • 1,279
6 votes
2 answers
75 views

Handle OS and Software maintenance/updates on Hardware distributed to Customers

In the last weeks I have tried to find a solution to the following scenario assuming that someone else had similar requirements and documented his solution but all my searches were unsuccessful. So ...
Stefan Podskubka's user avatar
1 vote
0 answers
35 views

Ensure that reactor worked out and see the result of execution state in SaltStack [closed]

Is there a way to get a progress of working out of saltstack reactor in realtime via API after sending event to reactor via API request? For now, the single output which is possible to see is {"...
user54's user avatar
  • 593
6 votes
2 answers
896 views

OpenShift configuration management

As far as I can tell, reading the OpenShift documentation, including https://github.com/openshift/training/, the officially published "standard" way to manage OpenShift configuration (about their ...
AnoE's user avatar
  • 4,866
1 vote
1 answer
159 views

How can integration tests for micro services be written?

Writing unit and integration tests for individual micro services is part of standard development processes. However, how can these services be tested with one another? And then integrated into a CI ...
Moritz's user avatar
  • 1,197
2 votes
1 answer
234 views

SaltStack Reactor fails with exception

I have the next conf files for salt reactor: reactor.conf 'salt/netapi/hook/cd': /srv/reactor/dev.sls dev.sls # vim: sts=2 ts=2 sw=2 et ai {% set payload = data.get('post') %}...
user54's user avatar
  • 593
5 votes
2 answers
1k views

Best practices for CI for embedded platforms (ESP32/Arduino)

Development processes for embedded software always lags behind that for web development. When looking at unit testing, automated builds and code analysis there are many limitations to popular tools. ...
Moritz's user avatar
  • 1,197
5 votes
2 answers
246 views

What should I use for configuration management on AWS?

I am trying to find a solution for configuration management using AWS OpsWorks. What I can see is AWS offers three services for OpsWorks Chef Automate Puppet AWS stacks I have read basics of all ...
Parantap Parashar's user avatar
2 votes
3 answers
70 views

Tool to collect developer environment parameters

I would like to start collecting parameters from local developer environments on my team, such as to see how they configure their properties files (not in source control), what directory they use as ...
amphibient's user avatar
0 votes
1 answer
59 views

how is software defined infrastructure related to devops?

I'm a new developer who is picking up python. I'm currently writing code using python's asyncio or twisted framework to automate the setup of some raspberry pi and servers I got 2nd hand (xen, hyper-v)...
laycat's user avatar
  • 111
7 votes
1 answer
502 views

Does Ansible have component akin to PuppetDB?

I know Puppet from (limited) experience and have noticed that in configuration management there is now a strong trend towards Ansible. On the one hand, I understand that Ansible does not require an ...
Drux's user avatar
  • 173
4 votes
2 answers
166 views

Docker vs CMS - related or a different thing?

I am new to DevOps and I am trying to catch the techniques and their names and meanings. I looked wikipedia explanations on Puppet (a Configuration Management System example) and that of Docker. ...
mico's user avatar
  • 525