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

安裝 Nginx 的 101 種方法/Ansible 簡介

A Gentle Introduction to Ansible / A talk given at "Modern Web 2015", Taipei.
by

William Yeh

on 25 May 2015

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of 安裝 Nginx 的 101 種方法/Ansible 簡介

Architect @ Gogolook
101 ways to install
???
# Ubuntu 14.04:
$ apt-get install nginx
Source: https://devcentral.f5.com/articles/devops-is-not-all-about-automation
Installation
Maturity Model
CMMI
Source: http://commons.wikimedia.org/wiki/File:Characteristics_of_Capability_Maturity_Model.svg
Interactive Commands
imperative
declarative
multiple tools
swiss knife
regex
Jinja2 template
apt-get, apt-key, curl, echo,
sed, tee
f(x)
f( f( f(x) ) ) =
hard
easy
f( f(x) ) =
facts
hard-coded logic
ubuntu
debian
centos
trusty, precise
jessie, wheezy
7, 6
{{ ansible_distribution|lower }}
{{ ansible_distribution }}

{{ ansible_distribution_release }}
{{ ansible_distribution_major_version }}
{{ ansible_pkg_mgr }}
handlers
"configuration drift" detection
roles
https://galaxy.ansible.com/list#/roles/2245
requirements.yml
ansible-galaxy install -f -r requirements.yml
.travis.yml
requirements.yml
declarative
swiss knife
configuration drift
facts
roles
Galaxy
ansible-galaxy install -f -r requirements.yml
ansible-playbook \
--private-key=$HOME/.ssh/xxx.pem \
-i host_list \
playbook.yml
Slide: bit.ly/ansible-slide
Lab: bit.ly/ansible-lab
"desired state"
"desired state"
TM
Full transcript