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. 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/
  2. 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/
  3. 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
  4. 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
  5. 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
  6. 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
  7. 16.
  8. 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/