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

Ansible 技術概觀介紹_20190130

Phil Huang
January 30, 2019

Ansible 技術概觀介紹_20190130

#ansible #redhat #tfc #taiwan #community

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

Phil Huang

January 30, 2019

More Decks by Phil Huang

Other Decks in Technology


  1. 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. 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. 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. 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. 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. 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. 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/