Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
NetDevOps - Automation and Configuration Management using Ansible
Phil Huang
May 12, 2017
Technology
1
260
NetDevOps - Automation and Configuration Management using Ansible
#netdevops #ansible #sdnds-tw
Phil Huang
May 12, 2017
Tweet
Share
More Decks by Phil Huang
See All by Phil Huang
pichuang
0
220
pichuang
0
2.3k
pichuang
0
180
pichuang
2
420
pichuang
0
93
pichuang
2
400
pichuang
3
1.1k
pichuang
0
90
pichuang
0
340
Other Decks in Technology
See All in Technology
ihcomega56
1
510
torisoup
11
5.4k
yasuyukiyamasaki
1
160
whitefox_73
0
190
oracle4engineer
0
3.6k
raykataoka
9
8.1k
xecus
0
180
karamem0
1
720
gobeyond20xx
0
170
clustervr
0
140
pohjus
0
3.3k
buildersbox
0
190
Featured
See All Featured
mza
80
4.1k
ammeep
655
54k
ufuk
56
5.4k
jrom
116
7.2k
philhawksworth
190
17k
smashingmag
283
47k
hannesfritz
28
950
morganepeng
93
14k
garrettdimon
288
110k
searls
205
36k
michaelherold
224
8.5k
jensimmons
207
10k
Transcript
NetDevOps Automation and Configuration Management using Ansible Phil Huang <phil@cord-ambassadors.org>
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!