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
NetDevOps - Automation and Configuration Manage...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Phil Huang
May 12, 2017
Technology
450
1
Share
NetDevOps - Automation and Configuration Management using Ansible
#netdevops #ansible #sdnds-tw
Phil Huang
May 12, 2017
More Decks by Phil Huang
See All by Phil Huang
20251119 如果是勇者欣美爾的話, 他會怎麼做? 東海資工
pichuang
1
210
20250924 零信任下的容器安全供應鏈:從隔離到信任
pichuang
0
80
20250705 Headlamp: 專注可擴展性的 Kubernetes 用戶界面
pichuang
0
410
20250307 雲端原生:引領數位轉型與永續的雙贏之道
pichuang
0
110
20250116 When Windows Meets Kubernetes…
pichuang
0
610
20241217-Azure Red Hat OpenShift 於 Azure TaiwanNorth 上之雲原生異地備援架構設計
pichuang
0
160
20241112 Real AVS Migration Experience Sharing
pichuang
0
120
Active/Passive HA FortiGate Pair with External and Internal Azure Load Balancer
pichuang
0
570
20240814-採用 Azure VMware Solution 啟動你的 Azure 雲端服務
pichuang
0
160
Other Decks in Technology
See All in Technology
『家族アルバム みてね』における インシデント対応との向き合い方 / Approach incident response in Family Album
kohbis
2
280
製造業のクラウド活用最適解〜AI,DXを加速するデータ基盤の作り方〜
hamadakoji
0
240
Javaで学ぶSOLID原則
negima
1
260
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.8k
電子辞書Brainをネットに繋げてみた(自力編)
raspython3
0
410
AIが変えた"品質の守り方"
kkakizaki
13
5.6k
Generative UI × A2UI で AI エージェントを作った話 AI-DLC も使ってみた!
kmiya84377
1
300
GoとSIMDとWasmの今。
askua
2
440
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
ChatworkとBPaaS 異なる特性で学んだAI機能開発の ベストプラクティス
kubell_hr
2
990
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
660
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
560
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
560
Raft: Consensus for Rubyists
vanstee
141
7.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Exploring anti-patterns in Rails
aemeredith
3
380
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.3k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
A better future with KSS
kneath
240
18k
KATA
mclloyd
PRO
35
15k
Speed Design
sergeychernyshev
33
1.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
380
Transcript
NetDevOps Automation and Configuration Management using Ansible Phil Huang <
[email protected]
>
Open Networking Solution Engineer, Edgecore Networks Corporation 2017/5/11, SDNDS-TW Workshop 2017, Taiwan #OpenCORD #ONOSProject
•Phil Huang ◦ ONOS/CORD Ambassador ◦ SDNDS-TW Co-Founder ◦ Edgecore
Open Networking Solution Engineer ◦ Blog ▪ blog.pichuang.com.tw Who am I? 2
3 Related Open Source Projects with Open CORD
• Open source automation platform • Configuration management • Application
deployment • Orchestrate advanced IT tasks automatically • Continuous deployment & integration (CI/CD) • Rolling updates • Two method • Ad-hoc command • Playbook 4 Ansible
• Simple • Easy to write, read and maintain •
Fast to learn and setup • Use YAML that allow you describe automation jobs in a way that approaches plain English • Efficient • Doesn’t require a custom agent or software to install • Secure • Runs on OpenSSH 5 Why Ansible?
6 Ansible Structure
7 Ansible Module Ref: https://github.com/opencord/cord/ansible Inventory Playbook All of Roles
Variable
8 Ansible Playbook – Spine Switch Ref: https://github.com/opencord/cord/blob/master/ansible/spineswitch.yml List of
Roles in the playbook Choose specific host run the playbook
9 Ansible Roles Roles
10 Ansibe Roles -- Architechure Ref: http://docs.ansible.com/ansible/playbooks_best_practices.html Tasks Templates Files
11 Ansible Tasks Task 1 Task 2
12 Ansible Module in Tasks Template Module Command Module
13 Module Documentation
14
15
16 THANK YOU!