#ansible (2018-11)

ansible

Discussions related to ansible configuration management

2018-11-29

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
10:31:53 PM

@Erik Osterman (Cloud Posse) has joined the channel

tamsky avatar
tamsky
10:31:54 PM

@tamsky has joined the channel

catdevman avatar
catdevman
10:31:54 PM

@catdevman has joined the channel

tamsky avatar

thanks!

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
10:35:21 PM

@Andriy Knysh (Cloud Posse) has joined the channel

tamsky avatar

I need to put my notes together but basically I’ve been enabling the OS-default /bin/init, after which I can test packer->docker+systemd->ansible playbooks pipelines that install/configure system services. CentOS publishes theirs at https://hub.docker.com/_/centos/ under “Dockerfile for systemd base image”. Right now I’m trying to see if I can walk this strategy all the way back to amazonlinux:1 and enable upstart.

tamsky avatar

https://hub.docker.com/r/solita/ubuntu-systemd/ lays out many of the same ideas I had under their heading “But Why?”:

  • You want to test a provisioning or deployment script that configures and starts systemd services.
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

would love to get a demo of this stuff later….

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

also makes me think we should do an #lax meetup for show & tell

pigglesticks avatar
pigglesticks
07:02:17 AM

@pigglesticks has joined the channel

2018-11-30

s.p.i avatar
s.p.i
08:15:15 AM

@s.p.i has joined the channel

Pablo Costa avatar
Pablo Costa
01:39:07 PM

@Pablo Costa has joined the channel

mrwacky avatar
mrwacky
05:26:42 PM

@mrwacky has joined the channel

catdevman avatar
catdevman

@tamsky I have never used systemd in docker that is interesting idea. So to go a little deeper into how we are layering out images it goes like this base -> application -> code each of those have it’s own repository so I can update and play around with making underlaying dependencies changes in the system level stuff under application and then we always layer code over that . Last step we have tests which I am mostly using goss currently but that takes the code repo image and installs testing framework over it and runs them then that last step “could” give the green light in a CI/CD pipeline

tamsky avatar

which CICD pipline do you use? I always wonder how folks arrange cascading dependencies between packer configs

catdevman avatar
catdevman

I use Jenkins.

tamsky avatar


I have never used systemd in docker that is interesting idea.

Ok article describing one group’s setup: http://t0t0.github.io/internship%20week%207/2016/03/30/cloud-config-docker.html

ndobbs avatar
ndobbs
09:36:26 PM

@ndobbs has joined the channel

sigafoose avatar
sigafoose
09:36:26 PM

@sigafoose has joined the channel

maarten avatar
maarten
09:36:39 PM

@maarten has joined the channel

    keyboard_arrow_up