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
Erika Heidi
April 20, 2016
Programming
2
260
Automation Made Simple with Ansible
Short talk presented at the first DigitalOcean Berlin meetup
Erika Heidi
April 20, 2016
Tweet
Share
More Decks by Erika Heidi
See All by Erika Heidi
Learning Lab: WordPress
erikaheidi
0
48
Criando Container Runtimes mais Seguras com Wolfi
erikaheidi
0
120
Introducing Chainguard Images for Safer PHP Runtimes
erikaheidi
0
150
Automatizando documentação em PHP com Autodocs
erikaheidi
0
120
Building the World: The Story Behind Wolfi
erikaheidi
0
640
Hello Wolfi
erikaheidi
1
710
Container Images for the Cloud Native Era
erikaheidi
1
370
Creating Secure Container Images with apko
erikaheidi
0
530
Criando GitHub Actions em PHP com Minicli
erikaheidi
0
230
Other Decks in Programming
See All in Programming
いまさら聞けない生成AI入門: 「生成AIを高速キャッチアップ」
soh9834
15
4.5k
Deoptimization: How YJIT Speeds Up Ruby by Slowing Down / RubyKaigi 2025
k0kubun
0
500
DomainException と Result 型で作る型安全なエラーハンドリング
karszawa
0
890
CRE Meetup!ユーザー信頼性を支えるエンジニアリング実践例の発表資料です
tmnb
0
630
Youtube Lofier - Chrome拡張開発
ninikoko
0
2.4k
自分のために作ったアプリが、グローバルに使われるまで / Indie App Development Lunch LT
pixyzehn
1
150
S3静的ホスティング+Next.js静的エクスポート で格安webアプリ構築
iharuoru
0
220
技術選定を未来に繋いで活用していく
sakito
3
100
php-fpm がリクエスト処理する仕組みを追う / Tracing-How-php-fpm-Handles-Requests
shin1x1
5
2.9k
趣味全開のAITuber開発
kokushin
0
190
サービスクラスのありがたみを発見したときの思い出 #phpcon_odawara
77web
4
630
サービスレベルを管理してアジャイルを加速しよう!! / slm-accelerate-agility
tomoyakitaura
1
170
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
178
53k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
Embracing the Ebb and Flow
colly
85
4.6k
Documentation Writing (for coders)
carmenintech
69
4.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Fireside Chat
paigeccino
37
3.4k
Being A Developer After 40
akosma
91
590k
What's in a price? How to price your products and services
michaelherold
245
12k
Six Lessons from altMBA
skipperchong
27
3.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
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]