Skip to content

Instantly share code, notes, and snippets.

@jsmartin
jsmartin / gist:6cc40bb9aaf9c70c871f067c1717796b
Last active September 14, 2023 15:03
DevOpsDaysDC 2023 Open Spaces Day Two Schedule

Open Spaces Locations

Open Spaces # Building Name Room Name
1 Hall of Service Main Conference Hall
2 Hall of Service Main Confeference Hall
3 Hall of Service Room 104
4 Building with Food Tiffany Room
5 Building with Food Red Couches
6 Building with Food Board Room
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 12083
user haproxy
group haproxy
spread-checks 5
daemon
stats socket /var/run/haproxy.sock mode 0600 level admin
- yum: name={{item}}
with_items: [ postgresql95, postgresql95-server, postgresql95-libs, postgresql95-contribl, postgresql95-devel]
@jsmartin
jsmartin / hasetup.yml
Created February 17, 2016 18:50
Tower HA pre-run
---
# vim: set ft=ansible sw=2 ts=2 et:
#
# Prepare for Tower HA install
#
#* Download offline bundle
#* Unarchive offline bundle on ALL hosts
#* do ./bundle_setup.sh on ALL hosts
#* do pre-dependency installs [yum install -y $(cat required_os_packages.txt)] on PRIMARY host
#
This is {{ msg }}.
1 2 3 4 5 6 7 8
2:00 You can't automate that Devops Planning Methods, Scrum KANBAN agile Where does security patching fit in the Agile/DevOps Process? How do you manage new tech adoption/The role of architecture in Devops Single Point of Truth / Inventory SLA's HR Capacity Planning for DevOps Teams
2:40 Creating a culture of learning Containers, Containers, S
- hosts: webservers
roles:
- common
- { role: foo_app_instance, dir: '/opt/a', port: 5000 }
- { role: foo_app_instance, dir: '/opt/b', port: 5001 }
cat test.yml
- hosts: localhost
vars:
myvar: ""
tasks:
- debug: var=myvar
- debug: msg="foo"
when: myvar == ""
- hosts: localhost
vars:
body:
path: "{{ ec2_tag_Name | replace('_', '-') }}"
content:
message: deploy
expire: 300
tasks:
- local_action:
module: uri
- local_action:
module: uri
url: http://sensu.example.com/stashes
method: POST
body: '{"path": "{{ ec2_tag_Name | replace("_", "-") }}", "content": {"message": "deploy"}, "expire": 300}'