Most Popular

1500 questions
7
votes
2 answers

How to solve "E405: Remote package tasks should have a retry" in Ansible?

E405 v4.0.0 Remote package tasks should have a retry Package operations are unreliable as they require network communication and the availability of remote servers. To mitigate the potential problems, retries should be used via register:…
030
  • 13,235
  • 16
  • 74
  • 173
7
votes
2 answers

What strategies can be employed to secure sensitive data in log files?

Working in highly regulated environments data is classified in different ways depending on the sensitivity. In some cases, this is legally enforced and must be treated differently. Examples of a data classification policy are: Highly Restricted…
Richard Slater
  • 11,612
  • 6
  • 41
  • 81
7
votes
1 answer

How does Vagrant differ from Ansible and Docker?

I understand that Ansible is a Configuration Management (CM) tool for orchestrating, deploying (and continuously upgrading) software and conf via a special YAML format created for that software, and that Ansible actions can be done on the local…
user5176
7
votes
5 answers

What are best practices and/or tools for updating AMIs on a regular basis?

I have a Master-Workers style computation model. And, I launch the workers via an AMI through an Ansible playbook. The workers' AMI has all the necessary configs needed for doing the computation (which is mostly a pipeline of ML tasks). However, we…
Dawny33
  • 2,816
  • 3
  • 23
  • 62
7
votes
1 answer

How can I use a local file for a nested Cloudformation stack?

How and is it possible to use a local file for a CloudFormation stack besides an S3 bucket?
Dr. Chocolate
  • 605
  • 1
  • 6
  • 9
7
votes
1 answer

What are the measures of size and complexity of IT infrastructure

How can I compare different infrastructure in regards to size and complexity. What can I measure and compare e.g. number of nodes, number of servers, architectures etc. How do those measures and variables differ in what they compare? Which of them…
7
votes
1 answer

AWS ECS/EKS: EC2 vs Fargate mode

Amazon offers the option of launching their container management services ECS and EKS in two modes: EC2 and Fargate. In the former, normal VMs (EC2 instances) are used and ECS or EKS (depending on the selection) clusters are created. In the later,…
pkaramol
  • 987
  • 2
  • 7
  • 13
7
votes
1 answer

In Jenkins, how can parameters that contain spaces be referenced?

Google has failed to even lead me to a proper answer as to why spaces are permitted in names of Jenkins parameters, let alone how to reference them. Assuming it's not just a major oversight, how does one access these parameters? For example, I have…
Argyle
  • 1,018
  • 2
  • 9
  • 20
7
votes
3 answers

Continuous Deployment best practices for managing application configuration

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 docker-compose up e.g., but I have no idea how to…
7
votes
1 answer

Kubernets docker registry behind nginx-ingress

I try to setup docker-registry in Kubernetes cluster behind the nginx-ingress controller. The issue is, when I try to push the image into private registry, it tells me: Get https://registry.local/v2/: x509: certificate is valid for ingress.local,…
acd
  • 121
  • 2
  • 6
7
votes
1 answer

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger the automation build once any changes committed in…
NarendraR
  • 233
  • 1
  • 4
  • 14
7
votes
2 answers

Applying ansible playbook to a docker container on a remote host

I have automated the setup of several docker containers with ansible. This works pretty well but there are certain recurring tasks that have to be executed within the docker containers. It is possible to implement this using the docker connection…
davidb
  • 399
  • 2
  • 3
  • 9
7
votes
1 answer

What is the cleanest branching strategy to use when creating reusable artifacts?

If I have 3 environments : integration, staging, and production, what is the cleanest branching strategy to use, assuming I want to reuse my deployed artifact? For example, should feature branches be merged into master and then built to be deployed…
tayworm
  • 660
  • 3
  • 8
7
votes
1 answer

Change owner of files created inside a Docker container without changing the Dockerfile

When I create a file inside a container with docker-compose run web touch test the file owns to root:root. I want to change it to be $USER without to use chown. I'm aware of the --user option but it requires to have the user created on the…
Dougui
  • 173
  • 1
  • 1
  • 5
7
votes
3 answers

Where should we keep application properties file while doing build promotion using Jenkins?

We are using spring boot to develop Java backend services. application.properties file has the database configurations. We are deploying in 4 different environments (dev, test, UAT, and production). The properties files will be different for…
Ratikanta
  • 171
  • 1
  • 3