Most Popular

1500 questions
12
votes
3 answers

How to safeguard Ansible deployment to mitigate accidents?

Recently the Amazon S3 had a major outage in the us-east-1 region. It looks like it was likely caused by a spelling error when running a maintenance playbook in Ansible or a similar tool. You can put a shell script wrapper around ansible-playbook to…
Jiri Klouda
  • 5,867
  • 1
  • 22
  • 54
12
votes
2 answers

How to send notification only in case of job output being non-empty

We are using rundeck to scan logfiles for a service, and take action depending on what is found there. Basically, for each item found, for which a records does not exists, a git repository is initialized and a few rest endpoints are called, but…
ᴳᵁᴵᴰᴼ
  • 1,173
  • 10
  • 22
12
votes
4 answers

Infrastructure as code and TDD

Infrastructure as code tells us to use tools that automate your builds. Great. Tools like ansible, chef, puppet, salt stack and others push us towards writing how infrastructure looks like, while resolving the differences. In Salt Stack those bits…
JackLeo
  • 223
  • 1
  • 6
12
votes
6 answers

Adam Smith vs. fullstack developers - and productivity in DevOps?

By Adam Smith, labour division can make you by 240 times more effective (on example of a pin factory producing pins in 18 steps). Why then are multi-skilled roles are so in demand if this actually reduces productivity - or was Smith just wrong, why…
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
12
votes
4 answers

Jenkins installed on aws unable to launch on browser

I have a fresh aws instance with Ubuntu 14 installed. I am trying to install and run jenkins on it. I did the following steps. Installed java8 wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb…
user28157
12
votes
1 answer

How to deterministic and reproducibly assign increasing port numbers in Ansible?

I am new to Ansible, but I have to maintain a set of playbooks, which correspond to services to be setup in a given environment. They need to be assigned a port, certificates, etc. This results in many files with lists of essentially always the same…
midor
  • 221
  • 2
  • 8
12
votes
2 answers

How to implement the immutable server pattern without loosing the ability to do post-mortems?

The immutable server pattern is a deployment discipline favouring the reproducibility of deployments. It is characterised by the fact that “a server that once deployed, is never modified, merely replaced with a new updated instance” and…
Michaël Le Barbier
  • 2,670
  • 1
  • 16
  • 27
12
votes
1 answer

What is recommended to document an IT technology stack, including their relationship to one another, in a graph database?

Working for a large company with over 500 IT staff and over a 1,000 servers, with each server running its own business applications, we have a tremendous information and co-ordination challenge in knowing which IT staff member to contact for which…
12
votes
2 answers

How to configure Docker tooling on Eclipse?

The Eclipse plugin "Docker tooling" seems to expect the installation of Docker Machine, or a network connection. But, on Windows 10 things seem different from what this plugin expects so I can't browse for the required executables. Also, how could I…
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
12
votes
2 answers

Is it possible to build docker images using docker-compose concurrently?

When one runs docker-compose up --build then the docker images are created sequential. Is it possible to build these images concurrently using docker-compose? There are multiple issues including this, but it is unclear whether it is possible or not.
030
  • 13,383
  • 17
  • 76
  • 178
12
votes
7 answers

How do I log ansible task output to a file?

One of my ansible tasks imports an Oracle database using impdp. This generates a lot of output to the console so I have set no_log: True. However, when this fails I want to see the log! How can I make this particular task log to a file and not to…
opticyclic
  • 489
  • 2
  • 4
  • 12
12
votes
2 answers

What is the purpose of running PHP-FPM in its own container instead in the same container as apache2/nginx?

I'm fairly new to Docker so excuse any obvious ignorance or misunderstandings. That said, I've been coding and configuring web applications for a long time now. I have recently been dabbling with some more sophisticated (Docker and "traditional")…
CoolElectricity
  • 195
  • 1
  • 9
12
votes
1 answer

Reconciling Continuous Deployment with strict change management policies

I'm curious how others architect their DevOps practices in a strict change management environment, such as with a Change advisory board (CAB) approval process. I understand that automation can improve your audit process by guaranteeing a more…
12
votes
1 answer

Pass string to Jenkins job from Slack

In an ideal world our less tech-knowledgeable employees could just use a Slack command to run a job and get the results slacked back to them, negating the use of the Jenkins GUI. I found Start a build in Jenkins using a Slack Command on GitHub, but…
Alex
  • 4,612
  • 6
  • 29
  • 49
12
votes
4 answers

What are the pros and cons of Azure Artifacts vs. Artifactory?

We have a requirement where we need to develop a custom product where the software component life cycle needs to be managed i.e. upload, download, recall etc. one option is to go with Custom API leveraging Azure Artifacts and the other option is to…
shri
  • 221
  • 1
  • 2
  • 6