Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

ANSIBLE FOR THE SYSAD MASSES

Ansible MiniFest Austin - 2014
by

Matt Martz

on 6 March 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of ANSIBLE FOR THE SYSAD MASSES

Matt Martz
Principal Engineer
Rackspace

@sivel
matt@sivel.net
matt.martz@rackspace.com

I'm a Python guy, and I love Ansible!
Who am I?
The solution?
Ansible of course!
Requirements
Multiple Inventory Scripts for different data sources
Passphrased SSH Keys
sudo
su
Abstraction Script
Problems
2 Factor Auth for inventory scripts
Forced --ask-pass functionality
Caching
Cannot know if sudo will prompt for a password
su support in Ansible
ANSIBLE FOR THE SYSAD MASSES
The problem
The problem is that a lot of work sysads do is tedious and could benefit from automation
Abstraction
We realize that not everyone is going to feel comfortable using ansible, and perhaps not want to learn it
Create a wrapper script
Use argparse and create subparsers for common commands
Integrate the required environment vars and inventory
Force defaults that work best in our environment
Packaging
If it runs python, someone will probably try to use it.
Too many distros and versions to support real packaging
Just creating a python package
Internal PyPI index
Also not a problem
The problem isn't that there is a giraffe in outer space
Why Ansible?
Agentless
Inventory Scripts
Easily Extensible
Great community
Easy to use
Python API
Thank you!
Questions?
Full transcript