We want to talk Ansible with you of chusiang part

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

C754ece92411be3261a2c3f1dd3aa3cc?s=128

Chu-Siang Lai

February 25, 2020
Tweet

Transcript

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

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

    社群志⼯ • 台灣敏捷協會會員 @chusiang_lai 2
  3. Ansible Taiwan https://t.me/ansible_tw https://github.com/ansible-tw http://ansible.tw 3

  4. https://note.drx.tw/

  5. https://ithelp.ithome.com.tw/2017ironman/8th_winner

  6. 1. 為什麼 Ansible 在社群上很火紅? 2. 如何⽤ Ansible 快速檢測和修復 安全與合規性問題? 3.

    回顧 Outline Retro Community How 6
  7. 1. 為什麼 Ansible 在 社群上很火紅? Retro Community How 7

  8. Agentless 無代理程式 Simple YAML、Python knowledge 教學豐富 8

  9. Linux Server Windows Server $ ansible $ ansible-playbook SSH /

    WinRM Managed Nodes Control Machine Workstation 9
  10. Agentless 無代理程式 Simple YAML、Python knowledge 教學豐富 10

  11. $ 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
  12. Agentless 無代理程式 Simple YAML、Python knowledge 教學豐富 12

  13. http://ansible.tw/#!docs/presentation.md 13

  14. https://docs.ansible.com 14

  15. https://docs.ansible.com/ansible/latest/ modules/yum_module.html 15

  16. 2. 如何⽤ Ansible 快速檢測 和修復安全與合規性問題? Retro Community How 16

  17. Build Config Deploy Verify ⽤ Ansible 掌握⼀切 17

  18. $ 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
  19. ⽤ Ansible Vault 處理敏感資料 對使⽤者、資料庫等密碼加密,以密⽂儲存。 19

  20. Manual 20 Customer Git server Development GitLab CI Build Test

    Deploy Release Modules Engineer Staging Prod. Release SQA
  21. 3. 回顧 Retro Community How 21

  22. Linux Server Windows Server $ ansible $ ansible-playbook SSH /

    WinRM Managed Nodes Control Machine Workstation 22
  23. http://ansible.tw/#!docs/presentation.md 23

  24. Build Config Deploy Verify ⽤ Ansible 掌握⼀切 24

  25. _________ < ⼯商服務 > --------- \ \ \_\_ _/_/ \

    \__/ (oo)\_______ (__)\ )\/\ ||----w | || || 25
  26. https://t.me/devopstw https://www.facebook.com/groups/DevOpsTaiwan/ https://devopstw.club/ DevOps Taiwan 26

  27. https://www.facebook.com/groups/agile.kaohsiung/ https://www.facebook.com/AgileTourHsinchu/ https://www.facebook.com/groups/AgileNeihu/ http:/ /fb.me/AgileCommunity.tw 27

  28. 買禮物? https://萍⽔相逢.tw 28

  29. ______ < END > ------ \ \ \_\_ _/_/ \

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