Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ansible 技術概觀介紹_20190130

D907136acebc72f1df878541b26f271a?s=47 Phil Huang
January 30, 2019

Ansible 技術概觀介紹_20190130

#ansible #redhat #tfc #taiwan #community

Slide source: http://bit.ly/2CXzn8v

D907136acebc72f1df878541b26f271a?s=128

Phil Huang

January 30, 2019
Tweet

Transcript

  1. Ansible 技術概觀介紹 Phil Huang 黃秉鈞 <pichuang@pichuang.com.tw> TFC #13, Taiwan, Jan.

    30, 2019 Rush!!!!!
  2. 有獎徵題 Skopeo Ansible CRI-O Podman LFN

  3. Phil Huang 黃秉鈞 • 社群斜槓青年 ◦ SDNDS-TW ◦ Cloud Native

    Taiwan User Group (CNTUG) • 任職於 Red Hat 擔任 Solution Architect • Information ◦ https://blog.pichuang.com.tw ◦ https://www.linkedin.com/in/phil-huang-09b09895/
  4. Ansible is Simple IT Automation • Simple, agentless and powerful

    open source IT automation tool a. Provisioning b. Configuration Management c. Application Deployment d. Continous Delivery e. Security & Compliance f. Orchestration Ref: https://www.ansible.com/
  5. Ansible Modules Ref: https://docs.ansible.com/ansible/latest/modules/modules_by_category.html

  6. Ansible Inventory Ref: https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html

  7. Ansible Playbooks • Ansible Playbooks ◦ Player (Based on inventory

    defined) ◦ Tasks (Do what) ◦ Ansible Modules (a.k.a Roles) Ref: https://blog.pichuang.com.tw/suggestions_to_improve_your_ansible_playbook
  8. Basic Support Protocols 1. SSH ◦ For most appliance platform

    which has SSH daemon 2. WinRM ◦ For Windows platform only 3. Network vendors specific Ref: https://speakerdeck.com/pichuang/netdevops-101
  9. Ansible Novice

  10. Recommend Architecture Ref: https://speakerdeck.com/pichuang/netdevops-101 Bastion / Jumper / ... Server

    / Network / Windows
  11. Your First Command # ansible -i <inventory file> all -m

    ping ansible -i ./hosts all -m ping Ref: https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html#your-first-commands
  12. 3 Ad-Hoc Useful Commands You Can Learn Ref: https://t.me/ansible_tw

  13. Ansible Galaxy Ref: https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html # Initial a structure for customized

    roles ansible-galaxy init TFC # Install specific roles ansible-galaxy install TFC ansible-galaxy install -r requirements.txt
  14. Use Cases 1. Ansible + Windows 2. Ansible + Security

    3. Ansible + Networking
  15. Ansible Networking Ref: https://github.com/network-automation/linklight

  16. None
  17. Wanna Learn More?

  18. How Do You Learn About Cloud Native Technologies? Top learning

    sources are 1. Documentation 2. Meetups and Local Events 3. Technical Podcasts Ref: https://www.cncf.io/blog/2018/08/29/cncf-survey-use-of-cloud-native-technologies-in-production-has-grown-over-200-percent/
  19. Ref: https://www.facebook.com/events/2143280755732051/

  20. Ref: https://www.facebook.com/RedHatTaiwan/

  21. Q&A 台上一小時,台下三日夜 社群正向回饋,需要一起參與 Ref: https://www.facebook.com/micomikicat/