Advanced Ansible : better infrastructure Justin W. Flory - - PowerPoint PPT Presentation

advanced ansible better infrastructure
SMART_READER_LITE
LIVE PREVIEW

Advanced Ansible : better infrastructure Justin W. Flory - - PowerPoint PPT Presentation

Advanced Ansible : better infrastructure Justin W. Flory justinwflory.com What well Quick introduction to Ansible talk about For fun : Managing Linux workstations For real : Managing infrastructure and preserving sanity


slide-1
SLIDE 1

Advanced Ansible: better infrastructure

Justin W. Flory justinwflory.com

slide-2
SLIDE 2

What we’ll talk about

github.com/jwflory/infrastructure github.com/jwflory/swiss-army

  • Quick introduction to Ansible
  • For fun: Managing Linux workstations
  • For real: Managing infrastructure and

preserving sanity

slide-3
SLIDE 3

What is Ansible?

From ansible.com

slide-4
SLIDE 4

Ansible uses YAML (YAML Ain't Markup Language)

slide-5
SLIDE 5

Managing Linux workstations

slide-6
SLIDE 6

Introducing jwflory/swiss-army

  • Ansible project to provision and set up Linux workstations with preferred configurations
  • Divided in two parts: system and app roles
  • Create custom configuration by adding roles to playbooks
  • Why is it useful?

○ Maintain configuration between computers or across a fleet of systems ○ Easy to opt in and out based on environment (e.g. some apps not available on some OS’s) ○ Sharing configurations with others is easy – share a link to GitHub git.io/fpdHs

slide-7
SLIDE 7

Managing infrastructure and sanity

slide-8
SLIDE 8

Introducing jwflory/infrastructure

  • Ansible project to:

○ Deploy applications and services to staging or production environments ○ Create workflow around introducing changes

  • Like swiss-army: create custom configurations by adding roles to host-based playbook

○ Likely better ways to do this at scale – client-server model is dated git.io/fpdHl

slide-9
SLIDE 9

Why is it useful?

slide-10
SLIDE 10

STOP: wasting time in the terminal

slide-11
SLIDE 11

STOP: pushing to prod

slide-12
SLIDE 12

START: testing changes

slide-13
SLIDE 13

START: catching problems in code review

slide-14
SLIDE 14

[ LIVE ]

Because untested live demos are always a great idea.