Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Automation Made Simple with Ansible
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Erika Heidi
April 20, 2016
Programming
330
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Automation Made Simple with Ansible
Short talk presented at the first DigitalOcean Berlin meetup
Erika Heidi
April 20, 2016
More Decks by Erika Heidi
See All by Erika Heidi
FreeCAD 101 Lightning Talk
erikaheidi
0
85
Learning Lab: WordPress
erikaheidi
0
180
Criando Container Runtimes mais Seguras com Wolfi
erikaheidi
0
240
Introducing Chainguard Images for Safer PHP Runtimes
erikaheidi
0
290
Automatizando documentação em PHP com Autodocs
erikaheidi
0
230
Building the World: The Story Behind Wolfi
erikaheidi
0
880
Hello Wolfi
erikaheidi
1
830
Container Images for the Cloud Native Era
erikaheidi
1
490
Creating Secure Container Images with apko
erikaheidi
0
740
Other Decks in Programming
See All in Programming
信頼性の目標を誰も求めてない
shubox
0
470
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.3k
T3DD26: From RAGs to Riches
martinhelmich
0
130
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
560
【DroidKaigi 2026】「アクセシビリティを利用するとき、 アクセシビリティもまたこちらを利用している」 〜マルウェアによる攻撃と防衛について〜
halunoyo
0
160
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
750
ソフトウェアラスタライザ
fadis
1
760
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.4k
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
360
FDEとは、何者なのか?
masapyon1212
0
110
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
130
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
150
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.9k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
640
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
Joys of Absence: A Defence of Solitary Play
codingconduct
1
460
It's Worth the Effort
3n
188
29k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
490
GraphQLとの向き合い方2022年版
quramy
50
15k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
410
What's in a price? How to price your products and services
michaelherold
247
13k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Marketing to machines
jonoalderson
1
5.7k
Writing Fast Ruby
sferik
630
63k
Transcript
None
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
ANSIBLE OVERVIEW
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Ansible • Simple and straightforward language (YAML) • Agentless Architecture • Huge collection of built-in modules • Great community, very popular on Github
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Inventories #/etc/ansible/hosts [dev] 192.168.30.33 [prod] myserver.com otherserver.com
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook Example --- - hosts: all become: true tasks: - name: Update apt-cache apt: update_cache=yes - name: Install Nginx apt: name=nginx state=latest
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook Resources • Variables • Loops • Conditionals • Templates • Ansible Vault
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
HANDS ON
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook --- - hosts: all become: true vars: packages: ["nginx", "vim"] message: "1st DigitalOcean Berlin Meetup, YAY!" tasks: - name: Update apt-cache apt: update_cache=yes - name: Install Packages apt: name={{ item }} state=latest with_items: packages - name: Change Nginx index file template: src=index.tpl dest=/usr/share/nginx/html/index.html notify: restart nginx handlers: - name: restart nginx service: name=nginx enabled=yes state=restarted
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook --- - hosts: all become: true vars: packages: ["nginx", "vim"] message: "1st DigitalOcean Berlin Meetup, YAY!" tasks: - name: Update apt-cache apt: update_cache=yes - name: Install Packages apt: name={{ item }} state=latest with_items: packages - name: Change Nginx index file template: src=index.tpl dest=/usr/share/nginx/html/index.html notify: restart nginx handlers: - name: restart nginx service: name=nginx enabled=yes state=restarted
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook --- - hosts: all become: true vars: packages: ["nginx", "vim"] message: "1st DigitalOcean Berlin Meetup, YAY!" tasks: - name: Update apt-cache apt: update_cache=yes - name: Install Packages apt: name={{ item }} state=latest with_items: packages - name: Change Nginx index file template: src=index.tpl dest=/usr/share/nginx/html/index.html notify: restart nginx handlers: - name: restart nginx service: name=nginx enabled=yes state=restarted
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook --- - hosts: all become: true vars: packages: ["nginx", "vim"] message: "1st DigitalOcean Berlin Meetup, YAY!" tasks: - name: Update apt-cache apt: update_cache=yes - name: Install Packages apt: name={{ item }} state=latest with_items: packages - name: Change Nginx index file template: src=index.tpl dest=/usr/share/nginx/html/index.html notify: restart nginx handlers: - name: restart nginx service: name=nginx enabled=yes state=restarted
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook --- - hosts: all become: true vars: packages: ["nginx", "vim"] message: "1st DigitalOcean Berlin Meetup, YAY!" tasks: - name: Update apt-cache apt: update_cache=yes - name: Install Packages apt: name={{ item }} state=latest with_items: packages - name: Change Nginx index file template: src=index.tpl dest=/usr/share/nginx/html/index.html notify: restart nginx handlers: - name: restart nginx service: name=nginx enabled=yes state=restarted
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
Playbook --- - hosts: all become: true vars: packages: ["nginx", "vim"] message: "1st DigitalOcean Berlin Meetup, YAY!" tasks: - name: Update apt-cache apt: update_cache=yes - name: Install Packages apt: name={{ item }} state=latest with_items: packages - name: Change Nginx index file template: src=index.tpl dest=/usr/share/nginx/html/index.html notify: restart nginx handlers: - name: restart nginx service: name=nginx enabled=yes state=restarted
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
DEMO TIME!
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
QUESTIONS?
Automation Made Simple with Ansible @erikaheidi / DigitalOcean Meetup Berlin
THANKS! @erikaheidi
[email protected]