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

We want to talk Ansible with you of chusiang part

Chu-Siang Lai
February 25, 2020

We want to talk Ansible with you of chusiang part

# 就是要跟你聊 Red Hat Ansible

很榮幸接受 Red Hat Taiwan 的邀請,在線上簡單地與大家小聊一下 Ansible。

* 活動影片:https://youtu.be/QOMg9f6gFOs
* 活動網址:https://www.digitimes.com.tw/seminar/RedHat_20200225/
* 官方投影片下載:https://www.digitimes.com.tw/eventplus/event.asp?id=056A90225&prodgroup=0

Chu-Siang Lai

February 25, 2020
Tweet

More Decks by Chu-Siang Lai

Other Decks in Technology

Transcript

  1. _________________________ < 就是要跟你聊 Red Hat Ansible > ------------------------- \ \

    \_\_ _/_/ \ \__/ (oo)\_______ (__)\ )\/\ ||----w | || || [ chusiang@RedHatTaiwan ~ ] $ cat .profile # Author: 凍仁翔 / [email protected] # Blog: https://note.drx.tw # Modified: 2020-02-25 16:30
  2. 凍仁翔 • 系統⼯程師 • Ansible Taiwan 社群組織者 • DevOps Taiwan

    社群志⼯ • 台灣敏捷協會會員 @chusiang_lai 2
  3. Linux Server Windows Server $ ansible $ ansible-playbook SSH /

    WinRM Managed Nodes Control Machine Workstation 9
  4. $ vim example.yml 1 --- 2 3 - name: "Playbook

    範例" 4 hosts: all 5 tasks: 6 - name: "世界你好" 7 command: echo "Hello World" 8 9 - name: "在 RHEL 上安裝 Vim" 10 become: True 11 yum: 12 name: vim
  5. $ vim deploy.yml 1 --- 2 3 - name: "部署範例"

    4 hosts: apps 5 tasks: 6 - name: "應⽤程式部署" 7 import_tasks: deploy_app.yml 8 tags: deploy 9 10 - name: "服務驗證" 11 import_tasks: verify_service.yml 12 tags: verify
  6. Manual 20 Customer Git server Development GitLab CI Build Test

    Deploy Release Modules Engineer Staging Prod. Release SQA
  7. Linux Server Windows Server $ ansible $ ansible-playbook SSH /

    WinRM Managed Nodes Control Machine Workstation 22
  8. _________ < ⼯商服務 > --------- \ \ \_\_ _/_/ \

    \__/ (oo)\_______ (__)\ )\/\ ||----w | || || 25
  9. ______ < END > ------ \ \ \_\_ _/_/ \

    \__/ (oo)\_______ (__)\ )\/\ ||----w | || || [ chusiang@RedHatTaiwan ~ ] $ cat .profile # Author: 凍仁翔 / [email protected] # Blog: https://note.drx.tw # Modified: 2020-02-25 16:30 29